SG::Perm2Inv
--
inverts a permutation
SG::Perm2Inv(perm)
perm | - | any list denoting a permutation |
The SG::Perm2Inv
function inverts a permutation perm.
>> muEC::SG::Perm2Inv( [3,1,2,4] );
[2, 3, 1, 4]
MuPAD Combinat, an open source algebraic combinatorics package