make_eigen: Make a matrix with integer eigen factorizations

View source: R/make_eigen.R

make_eigenR Documentation

Make a matrix with integer eigen factorizations

Description

Make a matrix with integer eigen factorizations

Usage

make_eigen(n)

Arguments

n

The dimension of the matrix

Value

A list with three components. A is the matrix that has eigen decomposition A = V D V^-1 where V is a matrix with eigenvectors as columns and D = diag(d) is a matrix with corresponding eigenvalues d on the diagonal.

Examples


e <- make_eigen(3)
e$A
e$V
e$d

jtipton25/dasc2594 documentation built on Oct. 7, 2022, 3:46 p.m.