Re: Time for an integration
- To: mathgroup at smc.vnet.net
- Subject: [mg100893] Re: Time for an integration
- From: Alexei Boulbitch <Alexei.Boulbitch at iee.lu>
- Date: Thu, 18 Jun 2009 04:48:34 -0400 (EDT)
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 with NIntegrate. Is it possible that an integration loop in mathematica takes so long ? Is there any ways to improve it ? Thank you Lena Hi, Lena, in general -yes. Think about replacing your loop by Table or Nest or comparable (depending of what precisely you are doing). It would be helpful, if you show your code. But do not do it in its original size, just do 10 times 10 by 10 or alike. Regards, Alexei -- Alexei Boulbitch, Dr., habil. Senior Scientist IEE S.A. ZAE Weiergewan 11, rue Edmond Reuter L-5326 Contern Luxembourg Phone: +352 2454 2566 Fax: +352 2454 3566 Website: www.iee.lu This e-mail may contain trade secrets or privileged, undisclosed or otherwise confidential information. If you are not the intended recipient and have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal from your system. Thank you for your co-operation.
- Follow-Ups:
- Re: Re: Time for an integration
- From: DrMajorBob <btreat1@austin.rr.com>
- Re: Re: Time for an integration