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

Online Help

All Products    Maple    MapleSim


Iterator[Inversion]

  

RightInversionToPermutation

  

convert right inversion table to permutation

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

RightInversionToPermutation(c)

Parameters

c

-

{list,rtable}; right inversion table

Description

• 

RightInversionToPermutation constructs the permutation, a, of integers 1 to n corresponding to the inversion table c, where cj is the number of elements to the right of j in a that are less than j.

• 

The c parameter is a right inversion table; it may be a list or one-dimensional rtable indexed from one, with 0cjj1

• 

The output is an Array indexed from 1 to n that contains a permutation of the integers from 1 to n.

Examples

withIterator:-Inversion:

c0,0,1,2

c0,0,1,2

(1)

aRightInversionToPermutationc

a1432

(2)

PermutationToRightInversiona

0012

(3)

Compatibility

• 

The Iterator[Inversion][RightInversionToPermutation] command was introduced in Maple 2016.

• 

For more information on Maple 2016 changes, see Updates in Maple 2016.

See Also

Iterator

Iterator[Inversion]