Trait ndarray_linalg::cholesky::CholeskyInplace

source ·
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§

source

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.

Implementations on Foreign Types§

source§

impl<A, S> CholeskyInplace for ArrayBase<S, Ix2>
where A: Scalar + Lapack, S: DataMut<Elem = A>,

source§

fn cholesky_inplace(&mut self, uplo: UPLO) -> Result<&mut Self>

Implementors§