Updates:
        Status: WontFix
        Owner: ---

Comment #3 on issue 574 by mattpap: apart: rewrite 'expr' using the binomial theorem
http://code.google.com/p/sympy/issues/detail?id=574

Recently I added partial fraction decomposition algorithm based on undetermined coefficients method (see polys11), e.g.:

In [1]: var('a,b,c,d,e')
Out[1]: (a, b, c, d, e)

In [2]: apart(1/(x-a)/(x-b),x)
Out[2]:
        1                  1
───────────────── + ────────────────
(-a + b)⋅(-b + x)   (-a + x)⋅(a - b)

In [3]: apart(1/(x-a)/(x-b)/(x-c),x)
Out[3]:
1 1 1 ─────────────────────────────── + ──────────────────────────────── + ─────────────────────────────── ⎛ 2 ⎞ ⎛ 2 ⎞ ⎛ 2⎞ (-a + x)⋅⎝a - a⋅b - a⋅c + b⋅c⎠ (-b + x)⋅⎝-a⋅b + a⋅c + b - b⋅c⎠ (-c + x)⋅⎝a⋅b - a⋅c - b⋅c + c ⎠

The previous method is still available via full=True keyword argument.

This way the workaround suggested in this issue is no more necessary to obtain simplified partial fractions with symbolic coefficients. Marking this issue as WontFix.

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

Reply via email to