Type Alias SquareMatrix

Source
pub type SquareMatrix<const D: usize> = Matrix<D, D>;

Aliased Type§

pub struct SquareMatrix<const D: usize>(/* private fields */);

Implementations§

Source§

impl<const D: usize> SquareMatrix<D>
where Zero<D>: Failed,

Source

pub fn identity() -> Self

Source

pub fn determinant(&self) -> f32

Source

pub fn has_inverse(&self) -> bool

Source

pub fn inverse(&self) -> Option<Self>