Remembering function values AND compile
- To: mathgroup at yoda.physics.unc.edu
- Subject: Remembering function values AND compile
- From: Simon Chandler <simonc at hpcpbla.bri.hp.com>
- Date: Wed, 21 Apr 93 09:27:45 +0100
To speed things up I could use a Compiled function in my program.
The program is also likely to calculating the same function value
several times so I could use the "remembering" facility
f[x_,y_,z_]:= f[x,y,z] = blah blah
to prevent re-evaluation of f for a particular set of x,y,z.
My questions are:
Can I combine Compile with the "remembering" of function values ?
Would this be faster than just using Compile ?
Thanks in advance,
Hewlett-Packard Ltd (CPB)
Tel: 0272 228109
Fax: 0272 236091
email: simonc%hpcpbla.bri.hp.com at hplb.hpl.hp.com
Prev by Date:
the size of frames
Next by Date:
Re: Question about Display
Previous by thread:
Re: the size of frames
Next by thread: