FUNCTION: MultPerm - multiply permutations
CALLING SEQUENCE:
- MultPerm(perm_1, perm_2)
- SG[MultPerm](perm_1, perm_2)
-
PARAMETERS:
- perm_1, perm_2 = any lists denoting permutations
SYNOPSIS:
- The MultPerm function calculates the product of a sequence (of arbitrary
length) of permutations.
- MultPerm(perm_1, perm_2) computes perm_1(perm_2).
- Permutations need not to belong to the same symmetric group:
Sn is embedded into Sn+1 by adding the fixed point n+1.
- Whenever there is a conflict between the function name MultPerm and
another name used in the same session, use the long form SG['MultPerm'].
EXAMPLES:
> with(SG):
> MultPerm([1,3,2], [2,3,1]);
[3, 2, 1]
> MultPerm([1,3,2], [2,3,1], [1,3,2,4]);
[3, 1, 2, 4]
SEE ALSO: TYP[Permutation]