Skip to main content

cycle_index

Function cycle_index 

Source
pub fn cycle_index(
    degree: usize,
    gens: &[Perm],
    cap: usize,
) -> Option<BTreeMap<Vec<usize>, u128>>
Expand description

The cycle index data — the distribution of cycle types over the group, mapping each cycle type to the number of elements with it. Dividing by |G| gives the cycle index polynomial, the engine of Pólya enumeration. None when |G| > cap.