Rust, Design Patterns, Matrix Factorization, Numerical Methods, Software Engineering.
Result<Matrix<f64>, CholeskyDecompositionError>; } impl<T> PositiveDefinite for Matrix<T> where T: Numeric { fn is_positive_definite(&self) -> bool { if !self.is_symmetric() { return false } if let Ok((eigen_values, _)) = self.eigen_decomposition(Algorithm::Jacobi) { for value in &eigen_values { if