OK. I just wanted to be sure. Sometimes there is strange behavior in SymPy that turns out to actually be intentional. This is now issue 1604.
Aaron Meurer On Aug 15, 2009, at 8:25 PM, Ondrej Certik wrote: > > On Sat, Aug 15, 2009 at 8:17 PM, Aaron S. Meurer<[email protected]> > wrote: >> >> >>> integrate(exp(x)*g(x), x) >> exp(x)*g(x) - D(g(x), x)*exp(x) >> >> Can someone tell me, is this a bug? If this is intentional, can >> someone please explain why? If I remember my integration by parts >> correctly, that second term should be Integral(D(g(x), x)*exp(x), x), >> though really it should just be returning Integral(exp(x)*g(x), x) in >> this case. Otherwise you could expand like this infinitely and never >> get a result. > > Yes, it's a bug, thanks for discovering it. Please create an issue > for it. > > Ondrej > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" 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?hl=en -~----------~----~----~----~------~----~------~--~---
