Re: Preventing NIntegrate from reevaluating after DumpSave and Get
- To: mathgroup at smc.vnet.net
- Subject: [mg68804] Re: Preventing NIntegrate from reevaluating after DumpSave and Get
- From: albert <awnl at arcor.de>
- Date: Sat, 19 Aug 2006 00:41:07 -0400 (EDT)
- References: <ec3ps8$2c2$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, > When I load the results back into Mathematica and try to use them things > are very slow. I suspect that this is because Mathematica retries > evaluating all the NIntegrate[...] on which it got stuck the first time > around. > > I have tried e.g. > > Get["MyFile.mx"] even here the NSolves will be evaluated since Mathematica basically tries to evaluate everything it sees... > sanelist = resultslist /. NIntegrate[___]->NotANumber > but this also takes ages evaluating the NIntegrate[...]. to import the Results unevaluated, you could try something like this: Block[{NIntegrate}, Get["MyFile.mx"]/.NIntegrate[___]->NotANumber ] this is untested, but I think it should work. Anyway it should be worth a try. hth, albert