If I have a polynomial, for example in three variables such as x, y, and 
z.  How do I generate a polynomial that is a select subset of the powers 
of x, y, and z in the original polynomial?  For example if x, y, and z 
are small compared to one I would like a polynomial that only consists 
of the zero and first order terms of x, y, and z of the original polynomial.

f(x,y,z) = a0+a1*x+a2*y+a3*z+a12*x*y+a23*y*z+a31*z*x+a123*x*y*z

return

g(x,y,z) = a0+a1*x+a2*y+a3*z

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" group.
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/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to