Trait 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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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§