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§
sourcefn detc(&self) -> Self::Output
fn detc(&self) -> Self::Output
Computes the determinant of the Hermitian (or real symmetric) positive definite matrix.
sourcefn ln_detc(&self) -> Self::Output
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.