pub unsafe fn step_hom<F: FnMut(&Matrix<T>) -> Matrix<T>>(
        self,
        mut f: F,
    ) -> Group<impl Iterator<Item = Matrix<T>>> {
        let dim = self.dim;
        self.iso(2 * dim, move |mat| direct_sum(&mat, &f(&mat)))
    }
/// Generates a step prism group from a base group and a homomorphism into
/// another group.
///
/// # Safety
/// The specified function must be a group homomorphism.
Generates a step prism group from a base group and a homomorphism into
another group.
Generates a step prism group from a base group and a homomorphism into another group .
pub unsafe fn step_hom<F: FnMut(&Matrix<T>) -> Matrix<T>>(
        self,
        mut f: F,
    ) -> Group<impl Iterator<Item = Matrix<T>>> {
        let dim = self.dim;
        self.iso(2 * dim, move |mat| direct_sum(&mat, &f(&mat)))
    }
pub unsafe fn step_hom < F : FnMut ( & Matrix < T > ) -> Matrix < T > > ( self , mut f : F , ) -> Group < impl Iterator < Item = Matrix < T > > > { let dim = self . dim ; self . iso ( 2 * dim , move | mat | direct_sum ( & mat , & f ( & mat ) ) ) }
Generates a step prism group from a base group and a homomorphism into
another group.
Generates a step prism group from a base group and a homomorphism into another group .
self
f
F
self
f
F
safety
The specified function must be a group homomorphism.
The specified function must be a group homomorphism .