Trait linfa_linalg::cholesky::Cholesky

source ·
pub trait Cholesky {
    type Output;

    // Required methods
    fn cholesky_dirty(&self) -> Result<Self::Output>;
    fn cholesky(&self) -> Result<Self::Output>;
}
Expand description

Cholesky decomposition of a symmetric positive definite matrix, without modifying the original

Required Associated Types§

Required Methods§

source

fn cholesky_dirty(&self) -> Result<Self::Output>

Computes decomposition A = L * L.t where L is a lower-triangular matrix without modifying or consuming the original. The upper triangle portion is not zeroed out.

source

fn cholesky(&self) -> Result<Self::Output>

Computes decomposition A = L * L.t where L is a lower-triangular matrix without modifying or consuming the original.

Implementations on Foreign Types§

source§

impl<A, S> Cholesky for ArrayBase<S, Ix2>
where A: NdFloat, S: Data<Elem = A>,

Implementors§