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§
sourcefn cholesky_inplace_dirty(&mut self) -> Result<&mut Self>
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.
sourcefn cholesky_inplace(&mut self) -> Result<&mut Self>
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§
sourcefn cholesky_into_dirty(self) -> Result<Self>where
Self: Sized,
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.
sourcefn cholesky_into(self) -> Result<Self>where
Self: Sized,
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.