Macaulay2 » Documentation
Packages » SpechtModule :: cycleDecomposition(List)
next | previous | forward | backward | up | index | toc

cycleDecomposition(List) -- the cycle decomposition of a permutation

Synopsis

Description

Every permutation has a decomposition as the concatenation of disjoint cycles. This decomposition is used to calculate the conjugacy class of the permutation.

i1 : cycleDecomposition {0,1,2,3,4}

o1 = {{0}, {1}, {2}, {3}, {4}}

o1 : List
i2 : cycleDecomposition {1,3,2,0,4}

o2 = {{0, 1, 3}, {2}, {4}}

o2 : List

Ways to use this method: