Ask Your Question

Revision history [back]

(f^2).monomials() works. If you do g=f^2 and then type g.<TAB>, you will get a list of methods attached to g, one of which is monomials. Others may also be of interest.