Re: Time for an integration
- To: mathgroup at smc.vnet.net
- Subject: [mg100991] Re: Time for an integration
- From: antononcube <antononcube at gmail.com>
- Date: Fri, 19 Jun 2009 20:47:24 -0400 (EDT)
- References: <h19i35$p1a$1@smc.vnet.net>
Hi,
Try using the NIntegrate option Method->{Automatic, SymbolicProcessing-
>0} and smaller precision goal.
Also, you might consider using the MonteCarlo method, or different
rule of integration. E.g.
NIntegrate[<<integrand>>, <<ranges>>,
Method -> {GlobalAdaptive, Method -> {MultiDimensionalRule,
Generators -> 9}, SymbolicProcessing -> 0}, PrecisionGoal -> 2]
Anton Antonov
On Jun 16, 9:49 pm, Lena <boo_00... at hotmail.com> wrote:
> Hello !
>
> I have an integral to perform 4096 times: it is a 3dimensionnal integral over a matrix of 4096.4096 points.
>
> It takes many hours and I still does not have the result. I made a loop w ithNIntegrate.
>
> Is it possible that an integration loop in mathematica takes so long ? Is there any ways to improve it ?
>
> Thank you
>
> Lena