MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Recalculating values in tables?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg63934] Re: Recalculating values in tables?
  • From: David Bailey <dave at Remove_Thisdbailey.co.uk>
  • Date: Mon, 23 Jan 2006 04:11:49 -0500 (EST)
  • References: <200601200932.EAA22054@smc.vnet.net> <dqsp49$c9n$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

I am a little surprised that there is no definite answer to this 
question - because otherwise it would seem that it would be easy to 
write code that was inadvertently sensitive to the details of the 
internal hash table.

For what it is worth, this test seems to show repeated evaluation:

f1:=(Print["Case 1"];ff1);

f2:=(Print["Case 2"];ff2);

f3:=(Print["Case 3"];ff3);

Table[{f1,f2,Sqrt[(f1-f2)/(f1*f2)]},{3}]

David Bailey
http://www.dbaileyconsultancy.co.uk


  • Prev by Date: Re: Simplifying the root of a quadratic
  • Next by Date: Re: Weiner process
  • Previous by thread: Re: Re: Recalculating values in tables?
  • Next by thread: A quick question regarding expectation rules