muEC::SG::Vect2Perm – computes a canonical permutation from a vector

The muEC::SG::Vect2Perm function calculates a canonical permutation from the list l, having as cycle type, the reordering of l.

Let l=[3, 2, 4], muEC::SG::Vect2Perm(l) gives a permutation in math which is a direct product of cycles of length 3, 2, 4.

→ Examples

Call:

muEC::SG::Vect2Perm(l)

Parameters:

l

any list of positive integers

Related Functions:

muEC::SG::Cycle2Perm, muEC::SG::Perm2Cycle, muEC::SG::Perm2CycleType

Example 1:

muEC::SG::Vect2Perm( [3,1,4,1] );

math