rust_igraph/algorithms/eigen/mod.rs
1//! Eigenvalue and eigenvector solvers for matrices and graphs.
2//!
3//! Provides three levels of access:
4//!
5//! - [`eigen_matrix_symmetric`] — eigenvalues of a real symmetric matrix
6//! given as a matrix-vector product closure. Uses Lanczos iteration.
7//! - [`eigen_matrix`] — eigenvalues of a general (possibly non-symmetric)
8//! real matrix via Arnoldi iteration.
9//! - [`eigen_adjacency`] — eigenvalues of a graph's adjacency matrix
10//! (convenience wrapper).
11//!
12//! All solvers are pure Rust with zero external dependencies.
13
14pub(crate) mod adjacency;
15pub(crate) mod general;
16pub(crate) mod symmetric;
17
18pub use adjacency::eigen_adjacency;
19pub use general::{GeneralEigenDecomposition, GeneralEigenWhich, eigen_matrix};
20pub use symmetric::{EigenDecomposition, EigenWhich, eigen_matrix_symmetric};