Trait linfa_linalg::cholesky::CholeskyInplace

source ·
pub trait CholeskyInplace {
    // Required methods
    fn cholesky_inplace_dirty(&mut self) -> Result<&mut Self>;
    fn cholesky_inplace(&mut self) -> Result<&mut Self>;

    // Provided methods
    fn cholesky_into_dirty(self) -> Result<Self>
       where Self: Sized { ... }
    fn cholesky_into(self) -> Result<Self>
       where Self: Sized { ... }
}
Expand description

Cholesky decomposition of a symmetric positive definite matrix

Required Methods§

source

fn cholesky_inplace_dirty(&mut self) -> Result<&mut Self>

Computes decomposition A = L * L.t where L is a lower-triangular matrix in place. The upper triangle portion is not zeroed out.

source

fn cholesky_inplace(&mut self) -> Result<&mut Self>

Computes decomposition A = L * L.t where L is a lower-triangular matrix in place.

Provided Methods§

source

fn cholesky_into_dirty(self) -> Result<Self>
where Self: Sized,

Computes decomposition A = L * L.t where L is a lower-triangular matrix, passing by value. The upper triangle portion is not zeroed out.

source

fn cholesky_into(self) -> Result<Self>
where Self: Sized,

Computes decomposition A = L * L.t where L is a lower-triangular matrix, passing by value.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<A, S> CholeskyInplace for ArrayBase<S, Ix2>
where A: NdFloat, S: DataMut<Elem = A>,

source§

fn cholesky_inplace_dirty(&mut self) -> Result<&mut Self>

source§

fn cholesky_inplace(&mut self) -> Result<&mut Self>

Implementors§