SG::MultPerm
--
multiply permutations
SG::MultPerm(perm1,perm2)
perm1, perm2 | - | any lists denoting permutations |
The SG::MultPerm
function calculates the product of a sequence (of arbitrary
length) of permutations.
computes SG::MultPerm
(perm1, perm2)perm1(perm2)
.
Permutations need not to belong to the same symmetric group: Sn is embedded into Sn+1 by adding the fixed point n+1.
>> muEC::SG::MultPerm( [1,3,2], [2,3,1] );
[3, 2, 1]
>> muEC::SG::MultPerm( [1,3,2], [2,3,1], [1,3,2,4] );
[3, 1, 2, 4]
MuPAD Combinat, an open source algebraic combinatorics package