On Wed, Oct 22, 2008 at 8:39 AM, Pekeika <[EMAIL PROTECTED]> wrote: > > Ondrej, Many thanks for your answer! > > Yes I need to do a definite integral but I noticed that the exp(poly) > integration is not yet implemented in Sympy and yes I need to > implement it, but I'm an engineer not a mathematician, I would > appreciate your help very much... my function that I need to integrate > is a lot more complex, it is the product of likelihood functions that > have all exponential shape, and the lambda parameter of these > exponentials is a Gaussian expression each... In that Gaussian are 4 > parameters which are my integration space (I need to do partial, > definite integration respect to each of them). > > It looks like the following: > > Integral{[lambda1*exp(-lambda1*c1)]*[lambda2*exp(- > lambda2*c2)]*...*[lambdan*exp(-lambdan*c3)]} dv d(phi) dg dD > > in which ci, xi, yi and ti are constants, and each lambda is 1/ > Gaussian, with parameters v, phi, g and D: > > lambdai=1/{(g/(4.00*pi*D*ti))*(exp(((-(xi-(v*ti*cos(phi)))**2.00)+(- > (yi-(v*ti*sin(phi)))**2.00))/(4.00*D*t)))} > > Everything is integrating but the exp() parts are not... could you > please acommodate the patch in the link provided to try solve this? or > please give me hints to try myself...
Thanks for more info. Yes, sympy should definitely be able to do that, let's implement it. Could you please try to clone our repo (either git or mercurial, whatever you prefer, I suggest git:), prepare patches, i.e. applying the patch from the issue and also Stepan's comments above in this thread, then try to see if it fixes the problem for you, then publish your repository online so that other people can try it as well, and then I or others will help you prepare nice patches to sympy from your repo. If you have any troubles implementing that, please ask here. I'll reply sooner now, I was traveling the past day. Thanks, Ondrej --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---