CycleType
The multiset of cycle lengths, as a partition.
Wikipedia
Cyclic permutationMathWorldPermutationCycleCyclicPermutationWikidataQ212130nLabcyclic permutationFindStatMp00108via PermutationCycleType(Permutation)The multiset of cycle lengths, as a partition.Typed signatures
| Type | Package | Applies |
|---|---|---|
(permutation) -> integer_partition | combinatorics | always |
Details
- Takes a
Permutationand returns aIntegerPartition— a typed map, so a wrong carrier is a type error rather than a wrong answer. - The first map here that CROSSES carriers — permutation in, integer partition out — which is the case the types exist for.
Examples
About
| Examples | 1 |
|---|---|
| Crosswalk | WikipediaMathWorld ×2WikidatanLabFindStat |