Status: Accepted Owner: asmeurer Labels: Type-Enhancement Priority-Medium Integration
New issue 1566 by asmeurer: Allow Integral to be evaluated at only an upper limit http://code.google.com/p/sympy/issues/detail?id=1566 Sometimes, you want to represent an unevaluated integral evaluated at some point, but you cannot directly substitute the point into the integration variable because the point could be something like x/y, and something like Integral(x/y, x/y) will fail (you can only have a Symbol as the integration variable). Currently, a work around is to do Integral(expression, (x, a, x/y)), where a is a dummy variable. This technically works in dsolve where I would use this because the terms with the a would be constant, and there would be an arbitrary constant added to the integral that would technically "absorb" it if it were ever evaluated. Maple has an Intat function that does just this: > Intat(x, x=y); This represents the integral of xdx evaluated at y. Unlike Maple, I do not think we need a separate function for this. Just allow the tuple at the end of Integral to have only 2 terms, and this will represent the integral evaluated only at the upper limit. Or maybe you could also just set the lower limit to None. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---