Trait ndarray_linalg::cholesky::FactorizeC

source ·
pub trait FactorizeC<S: Data> {
    // Required method
    fn factorizec(&self, uplo: UPLO) -> Result<CholeskyFactorized<S>>;
}
Expand description

Cholesky decomposition of Hermitian (or real symmetric) positive definite matrix reference

Required Methods§

source

fn factorizec(&self, uplo: UPLO) -> Result<CholeskyFactorized<S>>

Computes the Cholesky decomposition of the Hermitian (or real symmetric) positive definite matrix.

If the argument is UPLO::Upper, then computes the decomposition A = U^H * U using the upper triangular portion of A and returns the factorization containing U. Otherwise, if the argument is UPLO::Lower, computes the decomposition A = L * L^H using the lower triangular portion of A and returns the factorization containing L.

Implementations on Foreign Types§

source§

impl<A, Si> FactorizeC<OwnedRepr<A>> for ArrayBase<Si, Ix2>
where A: Scalar + Lapack, Si: Data<Elem = A>,

Implementors§