pub trait SquareMatrix<const N: usize> {
    // Required methods
    fn det(&self) -> f64;
    fn inv<const DOUBLE_COLS: usize>(
        &self
    ) -> Result<Matrix<N, N>, &'static str>;
}

Required Methods§

source

fn det(&self) -> f64

source

fn inv<const DOUBLE_COLS: usize>(&self) -> Result<Matrix<N, N>, &'static str>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<const N: usize> SquareMatrix<N> for Matrix<N, N>