Re: A faster alternative to ListIntegrate? postscript
- To: mathgroup at smc.vnet.net
- Subject: [mg35723] Re: A faster alternative to ListIntegrate? postscript
- From: Tom Burton <tburton at brahea.com>
- Date: Sat, 27 Jul 2002 06:43:35 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
I should have checked before: Compile doesn't make any difference on my
machine. (Used too; old habits die hard;) So roughly as fast and simpler is
------ Forwarded Message
From: Tom Burton <tomburton at earthlink.net>
To: mathgroup at smc.vnet.net
Subject: [mg35723] Re: A faster alternative to ListIntegrate?
Below is a simple-minded implementation that delivers the factor of 10 I
previously suggested in private. It's only first order, but you could
improve it as needed easily.
On 7/26/02 1:21 AM, in article ahr122$l2v$1 at smc.vnet.net, "Matthew Rosen"
<mrosen at cfa.harvard.edu> wrote:
> Hi Everyone;
> I've tracked down the slow operation of my Mathematica simulation code to
> lie in the ListIntegrate command:
> G[n_] := ListIntegrate[xsec Phi[n], 1]
> where both xsec and Phi[n] are 400 values long.
> Is there a way to speed up ListIntegrate via Compile or a similar technique?
> Thanks in advance and best regards,
G1 := ListIntegrate[xsec Phi[n], 1]
------ End of Forwarded Message
Prev by Date:
RE: Re: Question about Replace
Next by Date:
Re: A faster alternative to ListIntegrate?
Previous by thread:
RE: RE: Re: A faster alternative to ListIntegrate?
Next by thread:
More weird integration issues...