Re: Combined Set, SetDelayed
- To: mathgroup at smc.vnet.net
- Subject: [mg100803] Re: Combined Set, SetDelayed
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Sun, 14 Jun 2009 05:41:25 -0400 (EDT)
- References: <h0vteh$6v2$1@smc.vnet.net>
Hi, it has nothing to do with dynamic programming -- do it, always when you have a computation that need a lot of time and that you call more than once. Regards Jens Sid wrote: > Hi, > > This may be a silly question but I have not found an answer to it yet > in the Documentation Centre. > > In dynamic programming the following construct > > > f [ x_, y_] := f [x,y] = ...... > > is used, unless I am mistaken. > > I'd like to know if there are other situations where we must write a > function definition in the above format. > > Thanks in advance. > > Kind Regards. > > Sid. >