Are there some function $f$ which returns the monomials in a Laurent polynomial? For example, $f(a_1^{-1}+3b_{2,1})=[a_1^{-1}, 3b_{2,1}]$. Thank you very much.
2026-03-27 12:02:54.1774612974
How to return the monomials in a polynomial in Maple?
469 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
Another user suggested the 'op' command.
That will work provided that your polynomial has two or more terms, but if the polynomial input is itself a monomial, op will return the factors of the monomial term, which you don't want.
You could get around that with
Examples: