pub trait BaseMatOpLaplacian {
    type NumType;
    fn laplacian(&self) -> Array2<Self::NumType>;
    fn laplacian_pinv(&self) -> (Array2<Self::NumType>, Array2<Self::NumType>);
}
Expand description

Collection of Laplacian matrix operators

Associated Types

Scalar type of matrix

Required methods

Laplacian $ L $

Pseudoinverse matrix of Laplacian $ L^{-1} $

Returns pseudoinverse and pseudoidentity,i.e (D_pinv, I_pinv)

D_pinv @ D = I_pinv

Implementors