evec_lt: Eigenvector of a lower triangular matrix

Description Usage Arguments Value Examples

View source: R/means_variances.R

Description

Eigenvector of a lower triangular matrix

Usage

1

Arguments

A

a lower triangular matrix

Value

the eigenvectors of A in the order corresponding the eigenvalues as they apper on the diagonal of A

Examples

1
2
3
4
A <- matrix(rnorm(25), 5,5)
A[col(A) > row(A)] <- 0
A
evec_lt(A) %*% diag(diag(A))- A %*% evec_lt(A)   # this should be machine 0

gmonette/Tcells2 documentation built on May 17, 2019, 7:25 a.m.