Hi Everyone,

I'm trying to get SAGE to give me a list of the monomials in a
multivariate symbolic expression.

For example, if I have

p = x*y^(-4) - y^2*z

I'd like to get

[x*y^(-4), -y^2*z].

I know this functionality is available for multivariate polynomial
rings, but I was wondering if it were available for symbolic
expressions as well.  I don't really care what order the monomials
come in, I just need some way to iterate over them.

Thanks.
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to