CoreMatrixOps

Trait CoreMatrixOps 

Source
pub trait CoreMatrixOps {
    // Required methods
    fn add(&self, other: &Matrix) -> Result<Matrix, MathError>;
    fn multiply(&self, other: &Matrix) -> Result<Matrix, MathError>;
    fn transpose(&self) -> Matrix;
    fn inverse(&self) -> Matrix;
}
Expand description

Core matrix operations that work directly on Matrix types

Required Methods§

Source

fn add(&self, other: &Matrix) -> Result<Matrix, MathError>

Source

fn multiply(&self, other: &Matrix) -> Result<Matrix, MathError>

Source

fn transpose(&self) -> Matrix

Source

fn inverse(&self) -> Matrix

Implementors§