Comment #5 on issue 2276 by asmeurer: integrate() should use the ode
module's undetermined coefficients solver when possible
http://code.google.com/p/sympy/issues/detail?id=2276
By the way, at least for integrals of the form x**n*exp(a*x),
risch_integrate of integration3 (issue 2010) is even faster. For example:
In [5]: %timeit risch_integrate(x**100*exp(x), x)
1 loops, best of 3: 1.59 s per loop
In [6]: %timeit dsolve(f(x).diff(x) - x**100*exp(x), f(x),
hint='nth_linear_constant_coeff_undetermined_coefficients')
1 loops, best of 3: 32.3 s per loop
(regular integrate() just hangs).
We will have to wait to see how it compares for integrals with
trigonometric terms.
--
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.