Eigen_realSchur {EigenR}R Documentation

Real Schur decomposition

Description

Real Schur decomposition of a square matrix.

Usage

Eigen_realSchur(M)

Arguments

M

real square matrix

Details

See Eigen::RealSchur.

Value

A list with the T and U matrices.

Examples

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)

[Package EigenR version 1.3.0 Index]