pub type Mat2<E, Descriptor> = Mat<2, 2, E, Descriptor>;Aliased Type§
pub struct Mat2<E, Descriptor>(/* private fields */);Implementations§
Source§impl<E, Descriptor> Mat2<E, Descriptor>where
E: MatEl + NdFloat,
Descriptor: Descriptor,
Self: RawSliceMut<Scalar = E> + ScalarMut<Scalar = E, Index = Ix2> + ConstLayout<Index = Ix2> + IndexingMut<Scalar = E, Index = Ix2>,
impl<E, Descriptor> Mat2<E, Descriptor>where
E: MatEl + NdFloat,
Descriptor: Descriptor,
Self: RawSliceMut<Scalar = E> + ScalarMut<Scalar = E, Index = Ix2> + ConstLayout<Index = Ix2> + IndexingMut<Scalar = E, Index = Ix2>,
Sourcepub fn determinant(&self) -> E
pub fn determinant(&self) -> E
Computes the determinant of the matrix