Skip to main content

Module eigen

Module eigen 

Source
Expand description

Eigenvalue and eigenvector solvers for matrices and graphs.

Provides three levels of access:

  • eigen_matrix_symmetric — eigenvalues of a real symmetric matrix given as a matrix-vector product closure. Uses Lanczos iteration.
  • eigen_matrix — eigenvalues of a general (possibly non-symmetric) real matrix via Arnoldi iteration.
  • eigen_adjacency — eigenvalues of a graph’s adjacency matrix (convenience wrapper).

All solvers are pure Rust with zero external dependencies.

Structs§

EigenDecomposition
Result of an eigenvalue decomposition.
GeneralEigenDecomposition
Result of a general eigenvalue decomposition.

Enums§

EigenWhich
Which eigenvalues to compute.
GeneralEigenWhich
Which eigenvalues to compute for a general (non-symmetric) matrix.

Functions§

eigen_adjacency
Compute selected eigenvalues of a graph’s adjacency matrix.
eigen_matrix
Compute selected eigenpairs of a general real matrix.
eigen_matrix_symmetric
Compute selected eigenpairs of a real symmetric matrix.