Rust, Design Patterns, Matrix Factorization, Numerical Methods, Software Engineering.
Algorithm::Jacobi => { EigenDecomposition::<T>::decompose(&JacobiDecomposition, self) }, } } } #[derive(Debug)] pub struct EigenDecompositionError; /* Error's traits implementation */ pub enum Algorithm { Jacobi, // Other algorithms may come here } pub trait EigenDecomposition<T> { fn