Eigen_realSchur: Real Schur decomposition

View source: R/EigenR.R

Eigen_realSchurR 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)

EigenR documentation built on June 22, 2024, 12:18 p.m.