Trait ndarray_linalg::cholesky::DeterminantC

source ·
pub trait DeterminantC {
    type Output;

    // Required methods
    fn detc(&self) -> Self::Output;
    fn ln_detc(&self) -> Self::Output;
}
Expand description

Determinant of Hermitian (or real symmetric) positive definite matrix ref

Required Associated Types§

Required Methods§

source

fn detc(&self) -> Self::Output

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

source

fn ln_detc(&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() 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> DeterminantC for ArrayBase<S, Ix2>
where A: Scalar + Lapack, S: Data<Elem = A>,

source§

type Output = Result<<A as Scalar>::Real, LinalgError>

source§

fn detc(&self) -> Self::Output

source§

fn ln_detc(&self) -> Self::Output

Implementors§

source§

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

source§

type Output = <A as Scalar>::Real