ndarray_linalg::tridiagonal

Trait DeterminantTridiagonal

source
pub trait DeterminantTridiagonal<A: Scalar> {
    // Required method
    fn det_tridiagonal(&self) -> Result<A>;
}
Expand description

An interface for calculating determinants of tridiagonal matrix refs.

Required Methods§

source

fn det_tridiagonal(&self) -> Result<A>

Computes the determinant of the matrix. Unlike .det() of Determinant trait, this method doesn’t returns the natural logarithm of the determinant but the determinant itself.

Implementations on Foreign Types§

source§

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

Implementors§