FactorizeCInto

Trait FactorizeCInto 

Source
pub trait FactorizeCInto<S>
where S: Data,
{ // Required method fn factorizec_into( self, uplo: UPLO, ) -> Result<CholeskyFactorized<S>, LinalgError>; }
Expand description

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

Required Methods§

Source

fn factorizec_into( self, uplo: UPLO, ) -> Result<CholeskyFactorized<S>, LinalgError>

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.

Implementors§

Source§

impl<A, S> FactorizeCInto<S> for ArrayBase<S, Dim<[usize; 2]>>
where A: Scalar + Lapack, S: DataMut<Elem = A>,