Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Monomial coefficients in a PBW basis

Hi,

I'm using the PBW basis. I can't add a link but one finds it easily by googling "PBW basis sage".

I have to multiply a lot of monomial and store their coefficients. So given a PBW monomial and an expression, is there a command which can give me the corresponding coefficient, i.e something like coefficient(degrees) but in the Lie algebra setting, where the monomials are PBW monomials ?

Thanks in advance.