SG::RRep2Perm
--
calculates a permutation from its matrix in the regular
representation
SG::RRep2Perm(m)
m | - | a square matrix |
The SG::RRep2Perm
function calculates a permutation from its matrix in
the regular representation, that is to say the matrix of the linear
operator "left multiplication by perm".
>> muEC::SG::Perm2RRep( [3,1,2] );
+- -+ | 0, 0, 0, 1, 0, 0 | | | | 0, 0, 1, 0, 0, 0 | | | | 0, 0, 0, 0, 0, 1 | | | | 0, 0, 0, 0, 1, 0 | | | | 1, 0, 0, 0, 0, 0 | | | | 0, 1, 0, 0, 0, 0 | +- -+
>> muEC::SG::RRep2Perm( % );
[3, 1, 2]
MuPAD Combinat, an open source algebraic combinatorics package