Telling Maxima to Cache results of evaluations



Perhaps H2[Q,s] is what you want? Look at "Array functions" (section 
36.2.2 in 
http://maxima.sourceforge.net/docs/manual/en/maxima_36.html#SEC192)

Jaime

On 04/04/2013 09:56 PM, Adrian Brown wrote:
> Hi all,
>
> I have a numerical integration that takes about 4 seconds to run, I 
> have to call it 1700 times, Maxima knows the function as H2(Q,s) but 
> very often the input parameters are the same and I was hoping maxima 
> would not evaluate the numerical integration again, but just use a 
> cached result.
>
> Does Maxima have this capability and how do I enable it? I have 
> searched through the manual and mailing list but surprisingly to no 
> avail.
>
> Any help gratfully appreciated.
>
> Adrian
>