apart(full=True) should do it. There are some issues with it, though, and
so it might not always work (unless it was fixed and I forgot about it).

Aaron Meurer

On Nov 28, 2012, at 2:30 PM, siddhadev <[email protected]> wrote:

Is there a way to do partial fraction decomposition oven the complex?
For example

  apart(1/(x**3-1))

would decompose over the reals

  A/(x-1) + B/(x**2+x+1)

but can I force sympy to decompose over the complex, e.g.

 A/(x-1) + B/(x-u) + C/(x-v)

where u,v are the roots of x**2 + x +1.

-- 
You received this message because you are subscribed to the Google Groups
"sympy" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/sympy/-/_0ihDUINp5kJ.
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.

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