Eigen_sqrt | R Documentation |
Square root of a real or complex square matrix, when possible.
Eigen_sqrt(M)
M |
a square matrix, real or complex |
See matrix square root.
A square root of M
.
# Rotation matrix over 60 degrees: M <- cbind(c(cos(pi/3), sin(pi/3)), c(-sin(pi/3), cos(pi/3))) # Its square root, the rotation matrix over 30 degrees: Eigen_sqrt(M)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.