Dear All,

Quick question. I have a polynomial:

p =Poly(2*x*y+y, x, y)

and I want to substitute in y = y+5 and x= x+1 How would I do this?

I've tried things like:

p.subs((y, y+5), (x, x+1))

but this doesn't work.

Cheers

Colin


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com
To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to