pub trait CholeskyInplace {
// Required method
fn cholesky_inplace(&mut self, uplo: UPLO) -> Result<&mut Self>;
}
Expand description
Cholesky decomposition of Hermitian (or real symmetric) positive definite mutable reference of matrix
Required Methods§
sourcefn cholesky_inplace(&mut self, uplo: UPLO) -> Result<&mut Self>
fn cholesky_inplace(&mut self, uplo: UPLO) -> Result<&mut Self>
Computes the Cholesky decomposition of the Hermitian (or real
symmetric) positive definite matrix, writing the result (L
or U
according to the argument) to self
and returning it.
If the argument is UPLO::Upper
, then computes the decomposition A = U^H * U
using the upper triangular portion of A
and writes U
.
Otherwise, if the argument is UPLO::Lower
, computes the decomposition
A = L * L^H
using the lower triangular portion of A
and writes L
.
Object Safety§
This trait is not object safe.