Can anyone tell me how to get (1+x+y+c*x+c*x*y)/(x+x*y) to give me

c + (1+x+y)/(x+x*y)

>>> Poly(1 + x + y + c*x + c*x*y).div(Poly(x+x*y))
(Poly(0, x, y, c, domain='ZZ'), Poly(x*y*c + x*c + x + y + 1, x, y, c,
domain='ZZ'))

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sy...@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