Status: Accepted Owner: jorn.baayen CC: Vinzent.Steinberg, ondrej.certik Labels: Type-Defect Priority-Medium NeedsReview
New issue 1704 by jorn.baayen: [PATCH] Integration of certain composite functions fails http://code.google.com/p/sympy/issues/detail?id=1704 >>> x_max = Symbol("x_max") >>> a = Symbol("a") >>> integrate(y / pi * exp(-(x_max - x) / cos(a)), x) Does not work (the integration is not carried out), despite this being a trivial integral. The problem is that heurisch() expects functions to be given in some kind of canonical (unspecified in the code, maybe it is in the referenced articles but I don't currently have access to them) form so that backsubstitution of symbols works. Calling expand() on the argument of exp() fixes the problem in this case, and that is what the patch does for Functions with arguments that are rational functions. Nevertheless, I have the feeling that this problem should be fixable in some nicer way. Vinzent, Ondrej, do you have any ideas? Attachments: 0001-Expand-function-arguments-before-integration.patch 2.4 KB -- 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 -~----------~----~----~----~------~----~------~--~---