matrix.sqrt {skewMLRM} | R Documentation |
Square root of a matrix
Description
Compute the square root of a matrix
Usage
matrix.sqrt(A)
Arguments
A |
a symmetric semi-definite positive matrix |
Value
A symmetric matrix, say B, such as B^t*B=A
Note
For internal use.
Author(s)
Clecio Ferreira, Diego Gallardo and Camila Zeller.
Examples
A<-matrix(c(1,2,2,5),nrow=2)
B<-matrix.sqrt(A)
##Recovering A
t(B)%*%B
A
[Package skewMLRM version 1.6 Index]