convert/disjcyc
convert a permutation in list notation or a word into disjoint cycle notation
convert/permlist
convert a permutation in disjoint cycle notation into list notation
Calling Sequence
Parameters
Description
Examples
convert(lperm, 'disjcyc')
convert(perm, 'permlist', deg)
lperm
-
permutation in list notation
perm
the permutation
deg
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.
convert⁡3,4,1,2,7,6,5,disjcyc
1,3,2,4,5,7
convert⁡2,4,1,7,3,permlist,7
2,4,7,1,5,6,3
See Also
GroupTheory
GroupTheory[PermutationGroup]
type,list
Download Help Document