Struct libbgs::numbers::SylowDecomp
source · pub struct SylowDecomp<S, const L: usize, C: SylowDecomposable<S>> { /* private fields */ }
Expand description
A decomposition of a finite cyclic group into the direct sum of its Sylow subgroups. In particular, this group represents the right hand side of the isomorphism where and is a finite cyclic group.
Implementations§
source§impl<S, const L: usize, C: SylowDecomposable<S>> SylowDecomp<S, L, C>
impl<S, const L: usize, C: SylowDecomposable<S>> SylowDecomp<S, L, C>
sourcepub fn new() -> SylowDecomp<S, L, C>
pub fn new() -> SylowDecomp<S, L, C>
Returns a decomposition for the group.
This method may be expensive because it calls find_sylow_generator
for each Sylow
subgroup.
sourcepub fn generator(&self, i: usize) -> &C
pub fn generator(&self, i: usize) -> &C
Get the generators for decomposition.
The index of each generator corresponds to the index of the prime power in the
factorization. That is, if the prime power at index i
of the factorization is ,
then the generator at index i
of the array returned by the generators
method is a
generator of the Sylow subgroup of order .
Auto Trait Implementations§
impl<S, const L: usize, C> RefUnwindSafe for SylowDecomp<S, L, C>where C: RefUnwindSafe, S: RefUnwindSafe,
impl<S, const L: usize, C> Send for SylowDecomp<S, L, C>where C: Send, S: Send,
impl<S, const L: usize, C> Sync for SylowDecomp<S, L, C>where C: Sync, S: Sync,
impl<S, const L: usize, C> Unpin for SylowDecomp<S, L, C>where C: Unpin, S: Unpin,
impl<S, const L: usize, C> UnwindSafe for SylowDecomp<S, L, C>where C: UnwindSafe, S: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more