Comment #10 on issue 2219 by hector1...@gmail.com: Arbitrary constants in indefinite integration
http://code.google.com/p/sympy/issues/detail?id=2219
Asmeurer mentioned what I wanted to say. I don't have much idea about ode and pde solvers in SymPy. I made some changes in sympy/sympy/integrals/integrals.py and now with additional keyword argument arbitrary_function, the output of integration looks like -
In [2]: integrate(1,x,arbitrary_function=True) Out[2]: c + x In [3]: integrate(1+y,x,arbitrary_function=True) Out[3]: x⋅(1 + y) + f(y) In [4]: integrate(1+y*z,x,arbitrary_function=True) Out[4]: x⋅(1 + y⋅z) + f(y, z) In [5]: integrate(1+y*z,(x,1,4),arbitrary_function=True) Out[5]: 3 + 3⋅y⋅z + f(y, z) Corresponding pull request - #149 -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to sympy-issues@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.