eigenvalues/algorithms/mod.rs
1/*!
2
3## Algorithms to compute (some) eigenvalues/eigenvectors for symmetric matrices.
4
5*/
6pub mod davidson;
7pub mod lanczos;
8
9/// Option to compute the lowest, highest or somewhere in the middle part of the
10/// spectrum
11#[derive(Clone, PartialEq)]
12pub enum SpectrumTarget {
13 Lowest,
14 Highest,
15 Target(f64),
16}
17
18/// Correction method for the Davidson algorithm
19#[derive(Debug, Copy, Clone)]
20pub enum DavidsonCorrection {
21 DPR,
22 GJD,
23}