ACE | BN | BNA | CG | CLG | COMP | FM | FREE | HEKA | IDCA | NCA | NCSF | PART | SFA | SGA | SP | SYMF | TAB | TYP |
FUNCTION: Perm2Cycle - decompose a permutation into disjoint cycles
CALLING SEQUENCE:
PARAMETERS:
SYNOPSIS:
EXAMPLES:
> with(SG): > Perm2Cycle([5,4,3,2,1]); [[1, 5], [2, 4]]
SEE ALSO: Cycle2Perm Perm2CycleType Vect2Perm