/// Buils the rotation subgroup of a group.
Buils the rotation subgroup of a group.
Buils the rotation subgroup of a group .
pub fn rotations(self) -> Group<impl Iterator<Item = Matrix<T>>> {
        // Safety: matrices with determinant 1 are closed under multiplication
        // and inverses.
        //
        // The determinant might not be exactly 1, so we're extra lenient and
        // just test for positive determinants, which are likewise closed under
        // multiplications and inverses.
        unsafe { self.sub(|el| el.determinant() > T::ZERO) }
    }
pub fn rotations ( self ) -> Group < impl Iterator < Item = Matrix < T > > > { // Safety: matrices with determinant 1 are closed under multiplication // and inverses. // // The determinant might not be exactly 1, so we're extra lenient and // just test for positive determinants, which are likewise closed under // multiplications and inverses. unsafe { self . sub ( | el | el . determinant ( ) > T :: ZERO ) } }
Buils the rotation subgroup of a group.
Buils the rotation subgroup of a group .
self