ndarray_linalg::cholesky

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

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: Scalar + Lapack, S: DataMut<Elem = A>,

Source§

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

Implementors§