SG::Perm2Betti
--
computes the Betti polynomial
SG::Perm2Betti(p,q)
p | - | any list denoting a permutation |
q | - | a formal variable |
The SG::Perm2Betti
function computes the generating function of the lengths of
all permutations that are smaller than a given permutation p
,
according to Bruhat order.
>> muEC::SG::Perm2Betti( [3,4,1,2], q );
2 3 4 3 q + 5 q + 4 q + q + 1
MuPAD Combinat, an open source algebraic combinatorics package