pub trait Det: SquareMatrix { type Output; fn det(&self) -> Self::Output; }
Returns the determinant of the given matrix
|A|
let a = [ [1.0, 0.0], [0.0, 1.0] ]; assert_eq!(a.det(), 1.0);