matsqrt | R Documentation |
Returns the square root of a diagonalizable matrix.
matsqrt(x)
x |
An nxn diagonalizable matrix. |
This function is called by regcr
.
matsqrt
returns the square root of x
.
regcr
a <- matrix(c(1, -0.2, -0.2, 1), 2, 2) matsqrt(a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.