muEC::SG::Perm2Cycle – decomposes a permutation into disjoint cycles
The muEC::SG::Perm2Cycle function calculates the decomposition of a permutation into disjoint cycles. It does not print the fixed points (cycles of length 1).
Call:
muEC::SG::Perm2Cycle(perm)
Parameters:
perm: |
any list denoting a permutation |
Related Functions:
muEC::SG::Cycle2Perm, muEC::SG::Perm2CycleType, muEC::SG::Vect2Perm
muEC::SG::Perm2Cycle( [5,4,3,2,1] );