muEC::SG::Rd2Perm – permutation from a decomposition

computes a permutation from its decomposition

→ Examples

Call:

muEC::SG::Rd2Perm(rd, <n>)

Parameters:

rd

any list denoting a decomposition

n

degree of a symmetric group (positive integer)

Related Functions:

muEC::SG::Perm2Rd

Details:

The muEC::SG::Rd2Perm function calculates the permutation corresponding to the list rd, the entries of rd being interpreted as simple transpositions. Let math, then muEC::SG::Rd2Perm(rd)= math where math stands for the elementary transposition math computed by muEC::SG::SgTranspo(i,n).

When the second argument is not present, n is the smallest possible degree.

The decomposition needs not to be reduced.

Example 1:

muEC::SG::Rd2Perm( [1,2,1], 5 );

math

muEC::SG::Rd2Perm( [1,2,1] );

math