Re: Recovering f[z] values?
- To: mathgroup at smc.vnet.net
- Subject: [mg42698] Re: [mg42692] Recovering f[z] values?
- From: jmt <jmt at dxdydz.net>
- Date: Tue, 22 Jul 2003 04:40:36 -0400 (EDT)
- Organization: dxdydz
- References: <200307210915.FAA08637@smc.vnet.net>
- Reply-to: jmt at dxdydz.net
- Sender: owner-wri-mathgroup at wolfram.com
Try this :
f[z1]="one";
f[z2]="two";
{#[[1,1,1]],#[[1,1]]}&/@DownValues[f]
On Monday 21 July 2003 11:15, AES/newspost wrote:
> During the course of a long notebook evaluation a certain function
>
> f[z] = some function of z
>
> gets executed multiple times for various values of z which are no longer
> remembered. Near the end of the calculation it's desired to recover all
> these values, perhaps in a list
>
> {{z1,f[z1]}, {z2,f[z2}, . . . }
>
> Is there a simple way to do this?
- References:
- Recovering f[z] values?
- From: AES/newspost <siegman@stanford.edu>
- Recovering f[z] values?