Eigen_realSchur | R Documentation |
Real Schur decomposition of a square matrix.
Eigen_realSchur(M)
M |
real square matrix |
See Eigen::RealSchur.
A list with the T
and U
matrices.
library(EigenR)
M <- cbind(c(3, 2, 3), c(1, 1, 1), c(5, 0, -2))
schur <- Eigen_realSchur(M)
T <- schur$T
U <- schur$U
M - U %*% T %*% t(U)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.