Trait libbgs::numbers::SylowDecomposable
source · pub trait SylowDecomposable<S>: Factor<S> + GroupElem + Eq {
// Required method
fn find_sylow_generator(i: usize) -> Self;
// Provided methods
fn is_sylow_generator(candidate: &Self, d: (u128, usize)) -> Option<Self> { ... }
fn count_elements_of_order(ds: &[usize]) -> u128 { ... }
}
Expand description
Groups that can be decomposed into a direct sum of cyclic Sylow subgroups. In particular, these groups must be finite and cyclic.
Required Methods§
sourcefn find_sylow_generator(i: usize) -> Self
fn find_sylow_generator(i: usize) -> Self
Finds a Sylow generator for the Sylow subgroup of prime power index i
.
Provided Methods§
sourcefn is_sylow_generator(candidate: &Self, d: (u128, usize)) -> Option<Self>
fn is_sylow_generator(candidate: &Self, d: (u128, usize)) -> Option<Self>
True if the given element is a generator of the Sylow subgroup of the prime power
represented by d
.
sourcefn count_elements_of_order(ds: &[usize]) -> u128
fn count_elements_of_order(ds: &[usize]) -> u128
Returns the number of elements of a particular order. The argument is the powers of the prime factors of the group’s order.