pub trait CholeskyDecomposable<T: Number + RealNumber>: Array2<T> {
// Provided methods
fn cholesky(&self) -> Result<Cholesky<T, Self>, Failed> { ... }
fn cholesky_mut(self) -> Result<Cholesky<T, Self>, Failed> { ... }
fn cholesky_solve_mut(self, b: Self) -> Result<Self, Failed> { ... }
}
Expand description
Trait that implements Cholesky decomposition routine for any matrix.
Provided Methods§
sourcefn cholesky(&self) -> Result<Cholesky<T, Self>, Failed>
fn cholesky(&self) -> Result<Cholesky<T, Self>, Failed>
Compute the Cholesky decomposition of a matrix.
sourcefn cholesky_mut(self) -> Result<Cholesky<T, Self>, Failed>
fn cholesky_mut(self) -> Result<Cholesky<T, Self>, Failed>
Compute the Cholesky decomposition of a matrix. The input matrix will be used for factorization.
sourcefn cholesky_solve_mut(self, b: Self) -> Result<Self, Failed>
fn cholesky_solve_mut(self, b: Self) -> Result<Self, Failed>
Solves Ax = b