Re: How to avoid repeated recalculation of the same function

*To*: mathgroup at smc.vnet.net*Subject*: [mg132672] Re: How to avoid repeated recalculation of the same function*From*: Richard Fateman <fateman at cs.berkeley.edu>*Date*: Sat, 3 May 2014 03:39:34 -0400 (EDT)*Delivered-to*: l-mathgroup@mail-archive0.wolfram.com*Delivered-to*: l-mathgroup@wolfram.com*Delivered-to*: mathgroup-outx@smc.vnet.net*Delivered-to*: mathgroup-newsendx@smc.vnet.net*References*: <ljvdcg$bal$1@smc.vnet.net>

On 5/1/2014 11:18 PM, pgeipi10 at gmail.com wrote: Instead of f[x_]:= stuff, write f[x_]:= (f[x]= stuff). Then it remembers.