Skip to content

ConjugacyClassRepresentative ​

The canonical permutation with the same cycle type.

ConjugacyClassRepresentative(Permutation)The canonical permutation with the same cycle type.
Typed signatures
TypePackageApplies
(permutation) -> permutationcombinatoricsalways

Domain: Combinatorial maps

Details
  • Takes a Permutation and returns a Permutation — a typed map, so a wrong carrier is a type error rather than a wrong answer.
  • FindStat does not fix an ordering for this map. Convention used here: cycles in decreasing length, filled with consecutive integers, each cycle (a a+1 … a+len-1) written as the one-line word a+1, …, a+len-1, a.

Examples

Basic #

the one-line word 231231

live ↗
InConjugacyClassRepresentative(Permutation⁡([2,3,1]))\mathrm{ConjugacyClassRepresentative}({\operatorname{Permutation}}([2, 3, 1]))OutPermutation⁡([2,3,1]){\operatorname{Permutation}}([2, 3, 1])
About
Examples1