pub enum EigenAlgorithm {
Auto,
Lapack,
Arpack,
CompAuto,
CompLapack,
CompArpack,
}Expand description
Which numerical library eigen_matrix_symmetric, eigen_matrix
and Graph::eigen_adjacency use (igraph_eigen_algorithm_t).
Variants§
Auto
Choose automatically. For symmetric matrices: LAPACK when the matrix
is small (n < 100), when as many eigenvalues as the order are
requested, and for EigenWhich::All, EigenWhich::Interval
and EigenWhich::Select (which only LAPACK supports); ARPACK
otherwise. ARPACK for Graph::eigen_adjacency.
Not implemented by igraph (1.0.0 and 1.0.1) for eigen_matrix.
Lapack
Dense LAPACK routines (the matrix is formed explicitly).
Arpack
ARPACK (matrix-free, only matrix-vector products).
CompAuto
Complex variant of Auto (not implemented by igraph 1.0.0 and 1.0.1).
CompLapack
Complex variant of Lapack (not implemented by igraph 1.0.0 and 1.0.1).
CompArpack
Complex variant of Arpack (not implemented by igraph 1.0.0 and 1.0.1).
Trait Implementations§
Source§impl Clone for EigenAlgorithm
impl Clone for EigenAlgorithm
Source§fn clone(&self) -> EigenAlgorithm
fn clone(&self) -> EigenAlgorithm
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for EigenAlgorithm
Source§impl Debug for EigenAlgorithm
impl Debug for EigenAlgorithm
impl Eq for EigenAlgorithm
Source§impl From<EigenAlgorithm> for igraph_eigen_algorithm_t
impl From<EigenAlgorithm> for igraph_eigen_algorithm_t
Source§fn from(value: EigenAlgorithm) -> igraph_eigen_algorithm_t
fn from(value: EigenAlgorithm) -> igraph_eigen_algorithm_t
Source§impl Hash for EigenAlgorithm
impl Hash for EigenAlgorithm
Source§impl PartialEq for EigenAlgorithm
impl PartialEq for EigenAlgorithm
Source§fn eq(&self, other: &EigenAlgorithm) -> bool
fn eq(&self, other: &EigenAlgorithm) -> bool
self and other values to be equal, and is used by ==.