sqrt.mat {mixtools} | R Documentation |
Returns the square root of a diagonalizable matrix.
sqrt.mat(x)
x |
An nxn diagonalizable matrix. |
This function is called by regcr
.
sqrt.mat
returns the square root of x
.
a<-matrix(c(1, -0.2, -0.2, 1), 2, 2) sqrt.mat(a)