Hello, On Tue, Mar 6, 2012 at 12:35 PM, Hansi <[email protected]> wrote: > First of all, thank you very much for the quick response! > The result of integrating the Heaviside-function is different with my > sympy (though it is version 0.7.1): >>>> var('a'), var('x') > (a, x) >>>> integrate(Heaviside(x - a), x) > Integral(Heaviside(-a + x), x) > > How can I switch to Miejer G integration in order to get your results? > > On 6 Mrz., 02:50, Aaron Meurer <[email protected]> wrote: >> Is there a reason you don't just use Heaviside? With the new Miejer G >> algorithm in master, integrate() works fine with Heaviside functions >> and expressions containing Heaviside functions.
As I read what Aaron says, the functionality you need is not yet present in the released version 0.7.1. To be able to repeat what Aaron shows, you likely need to check out the latest code from https://github.com/sympy/sympy . (This will get you the Zip file https://github.com/sympy/sympy/zipball/master ). I can't check that right away, but I am almost sure this is why you can't properly integrate Heaviside. Sergiu -- 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.
