muEC::SG::Cycle2Perm – calculates the permutation from its decomposition into disjoint cycles

The muEC::SG::Cycle2Perm function calculates the permutation corresponding to its decomposition dc into disjoint cycles. Note however that the main format for permutations is the list notation.

Fixed points need not to be given in the input.

→ Examples

Call:

muEC::SG::Cycle2Perm(dc)

Parameters:

dc

any list of lists

Related Functions:

muEC::SG::Perm2Cycle, muEC::SG::Perm2CycleType, muEC::SG::Vect2Perm

Example 1:

muEC::SG::Cycle2Perm( [[1, 7, 2], [4, 6], [3], [5]] );

math

muEC::SG::Cycle2Perm( [[1, 7, 2], [4, 6]] );

math