convert a permutation in list notation or a word into disjoint cycle notation
convert a permutation in disjoint cycle notation into list notation
convert(perm, 'permlist', deg)
permutation in list notation
the degree of the permutation
The argument lperm is expected to be a permutation in list notation. This means that lperm is a list whose ith element is the image of i under the permutation. The permutation is returned in disjoint cycle notation.
A list is returned whose ith element is the image of i under perm, for i=1..deg.
Download Help Document