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-patches" group.
To post to this group, send email to sympy-patc...@googlegroups.com.
To unsubscribe from this group, send email to
sympy-patches+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sympy-patches?hl=en.