Trait ndarray_linalg::cholesky::DeterminantCInto

source ·
pub trait DeterminantCInto {
    type Output;

    // Required methods
    fn detc_into(self) -> Self::Output;
    fn ln_detc_into(self) -> Self::Output;
}
Expand description

Determinant of Hermitian (or real symmetric) positive definite matrix

Required Associated Types§

Required Methods§

source

fn detc_into(self) -> Self::Output

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

source

fn ln_detc_into(self) -> Self::Output

Computes the natural log of the determinant of the Hermitian (or real symmetric) positive definite matrix.

This method is more robust than .detc_into() to very small or very large determinants since it returns the natural logarithm of the determinant rather than the determinant itself.

Implementations on Foreign Types§

source§

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

Implementors§

source§

impl<A, S> DeterminantCInto for CholeskyFactorized<S>
where A: Scalar + Lapack, S: Data<Elem = A>,

source§

type Output = <A as Scalar>::Real