PermutationPower¶
Power of a permutation.
Also accepts a permutation in disjoint cycle form. The result is returned
in canonical Cycles[...] form (each cycle rotated so its smallest
element comes first, cycles sorted by smallest element, fixed points
dropped). Negative exponents apply the inverse permutation.