Comment #2 on issue 2276 by [email protected]: integrate() should use the
ode module's undetermined coefficients solver when possible
http://code.google.com/p/sympy/issues/detail?id=2276
I think you should just be able to return
`antideriv.as_independent(*integration_variables)[1]` since it is possible
(still) that the user used variables that class with the constants that
come back from ode:
h[3] >>> dsolve(f(x).diff(x)-x+C0,f(x))
f(x) == C1 - C0*x + x**2/2
h[4] >>> dsolve(f(x).diff(x)-x+C1,f(x))
f(x) == C1 + C2*x + x**2/2
^
|__ it renumbered the user's symbol. Perhaps integrate
would have to swap those out with dummies before doing the integration.
--
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.