convert/disjcyc - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : convert/disjcyc

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

Calling Sequence

convert(lperm, 'disjcyc')

convert(perm, 'permlist', deg)

Parameters

lperm

-

permutation in list notation

perm

-

the permutation

deg

-

the degree of the permutation

Description

• 

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.

Examples

convert3,4,1,2,7,6,5,disjcyc

1,3,2,4,5,7

(1)

convert2,4,1,7,3,permlist,7

2,4,7,1,5,6,3

(2)

See Also

GroupTheory

GroupTheory[PermutationGroup]

type,list