Close
Close window
convert/disjcyc - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

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

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)


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /