Eigendecomposition of a Matrix
Explore matrix eigendecomposition to factorize matrices into eigenvalues and eigenvectors using R and Rcpp. Understand how to verify decompositions and find dominant eigenvalues with power iteration algorithms, leveraging libraries like Armadillo and Eigen for efficient computation.
Eigendecomposition, also called spectral decomposition, is the factorization of a matrix into a canonical form, where the matrix is represented in terms of its eigenvalues and eigenvectors.
- The matrix is a square matrix where the column is the eigenvector of .
- The matrix is the diagonal matrix where the diagonal elements are the corresponding eigenvalues .
Only diagonalizable matrices can be factorized in this way.
A (nonzero) vector of dimension n is an eigenvector of a square matrix if it satisfies the linear equation:
...