Eigen_complexSchur {EigenR} | R Documentation |
Complex Schur decomposition
Description
Complex Schur decomposition of a square matrix.
Usage
Eigen_complexSchur(M)
Arguments
M |
real or complex square matrix |
Details
See Eigen::ComplexSchur.
Value
A list with the T
and U
matrices.
Examples
library(EigenR)
M <- cbind(c(3, 2i, 1+3i), c(1, 1i, 1), c(5, 0, -2i))
schur <- Eigen_complexSchur(M)
T <- schur$T
U <- schur$U
M - U %*% T %*% t(Conj(U))
[Package EigenR version 1.3.0 Index]