If I try to compute in a polynomial ring with arbitrary expression
coefficients, I get undesirable expansion:

>>> from sympy import *
>>> x,y,z,t = symbols('x y z t')
>>> Poly((x+y)*z,t,domain=EX)
Poly(x*z + y*z, t, domain='EX')

I would like to preserve the (x+y)*z structure of the coefficient for
later code generation purposes.  Is there a way to do this?

Thanks,
Geoffrey

-- 
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