powered by
Returns the square root of a diagonalizable matrix.
matsqrt(x)
An nxn diagonalizable matrix.
matsqrt returns the square root of x.
matsqrt
x
This function is called by regcr.
regcr
# NOT RUN { a <- matrix(c(1, -0.2, -0.2, 1), 2, 2) matsqrt(a) # }
Run the code above in your browser using DataLab