SG::Perm2RRep
--
calculates the matrix representing a permutation in the
regular representation
SG::Perm2RRep(perm)
perm | - | any list denoting a permutation |
The SG::Perm2RRep
function calculates the matrix representing perm
in the
regular representation. It amounts to consider perm
as the linear
operator acting on permutations by left multiplication.
>> muEC::SG::Perm2RRep( [2,3,1] );
+- -+ | 0, 0, 0, 0, 1, 0 | | | | 0, 0, 0, 0, 0, 1 | | | | 0, 1, 0, 0, 0, 0 | | | | 1, 0, 0, 0, 0, 0 | | | | 0, 0, 0, 1, 0, 0 | | | | 0, 0, 1, 0, 0, 0 | +- -+
>> muEC::SG::RRep2Perm( % );
[2, 3, 1]
MuPAD Combinat, an open source algebraic combinatorics package