
| ACE | BN | BNA | CG | CLG | COMP | FM | FREE | HEKA | IDCA | NCA | NCSF | PART | SFA | SGA | SP | SYMF | TAB | TYP |
FUNCTION: Perm2Rise - compute the list of rises of a permutation
CALLING SEQUENCE:
PARAMETERS:
SYNOPSIS:
EXAMPLES:
> with(SG):
> perm:=[3,1,4,2,6,5,7,8]:
> Perm2Rise(perm);
[2, 4, 6, 7]
> Perm2Rise(perm, 'nb');
4
> Perm2Rise(perm, 'rin');
9
> Perm2Rise(perm, 'corin');
13
SEE ALSO: Perm2Desc