Comment #4 on issue 2133 by mattpap: Merge new polynomials manipulation module
http://code.google.com/p/sympy/issues/detail?id=2133

The ratint() example works when you apply doit() to the result:

In [2]: from sympy.integrals.rationaltools import *

In [3]: ratint(1/(x**2 + 1), x, real=False)
Out[3]:
       ⎛   2                          ⎞
RootSum⎝4⋅t  + 1, Λ(t, t⋅log(x + 2⋅t))⎠

In [4]: _.doit()
Out[4]:
ⅈ⋅log(x + ⅈ)   ⅈ⋅log(x - ⅈ)
──────────── - ────────────
     2              2

This is because RootSum() simplifies it self only when the input polynomial is linear for a generic function, or for an arbitrary polynomial when the function is rational.

I fixed those trivial problems with symbols() and all().

I can't reproduce test_intervals() failure in any configuration on my machines.

I will cherry pick those improvements from integration3 branch and schedule docstests improvements for 0.7.1, because we need a robust doctest runner first.

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

Reply via email to