mysqrtm {PCFAM} | R Documentation |
This function can find the matrix square root, without requiring a new package and often faster than other code.
mysqrtm(a, symmetric = F)
a |
The input matrix |
symmetric |
Default=FALSE. This argument indicates whether the input matrix is symmetric. |
Matrix B is said to be a square root of A if the matrix product BB is equal to A.
returns the square root matrix B