matrixsqrt | R Documentation |
Matrix square root of a matrix using the eigendecomposition.
matrixsqrt(S, tol = sqrt(.Machine$double.eps))
S |
A squered matrix |
tol |
Tolerance for the igenvalues |
Matrix square root of a matrix using the eigendecomposition and removing the eigenvalues smaller than a tolerance
The matrix square root of the argument
Jose Luis Vicente Villardon
data(iris)
x=as.matrix(iris[,1:4])
S= t(x)
matrixsqrt(S)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.