Iterator[Inversion]
RightInversionToPermutation
convert right inversion table to permutation
Calling Sequence
Parameters
Description
Examples
Compatibility
RightInversionToPermutation(c)
c
-
{list,rtable}; right inversion table
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 0≤cj≤j−1
The output is an Array indexed from 1 to n that contains a permutation of the integers from 1 to n.
with⁡Iterator:-Inversion:
c≔0,0,1,2
a≔RightInversionToPermutation⁡c
a≔1432
PermutationToRightInversion⁡a
0012
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
Download Help Document