pub trait BaseSpaceMatOpStencil {
    type NumType;
    fn stencil(&self, axis: usize) -> Array2<Self::NumType>;
    fn stencil_inv(&self, axis: usize) -> Array2<Self::NumType>;
}
Expand description

Collection of matrix operators

Associated Types

Scalar type of matrix

Required methods

Transformation stencil

Multiplication of this matrix with a coefficient vector has the same effect as BaseSpaceFromOrtho::to_ortho(), but is less efficient.

Returns identity matrix for orthogonal bases

Arguments
  • axis - usize

Inverse of transformation stencil

Multiplication of this matrix with a coefficient vector has the same effect as BaseSpaceFromOrtho::from_ortho(), but is less efficient.

Returns identity matrix for orthogonal bases

Arguments
  • axis - usize

Implementors