SG::Perm2Rd
--
calculates a canonical reduced decomposition of a
permutation
SG::Perm2Rd(perm)
perm | - | any list denoting a permutation |
The SG::Perm2Rd
function calculates a canonical reduced decomposition of
perm
. It is obtained by reading the Rothe diagram.
>> muEC::SG::Perm2Rd( [4,2,6,1,3,5] );
[3, 2, 1, 2, 5, 4, 3]
MuPAD Combinat, an open source algebraic combinatorics package