Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

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

Search the Archive

Re: Repeated function evaluation?

  • To: mathgroup at
  • Subject: [mg24235] Re: Repeated function evaluation?
  • From: Jens-Peer Kuska <kuska at>
  • Date: Tue, 4 Jul 2000 15:22:01 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <8jrcda$>
  • Sender: owner-wri-mathgroup at


if you write

f[x_,y_]:=f[x,y]=Module[{}, ..]

yes, otherwise not.


> Suppose I have a function  f[x_,y_] := Module[{ }, . . .]  where the
> module is fairly time-consuming to evaluate.
> If I call this function a second time in a given notebook using
> identical values of the arguments  x  and  y , is Mathematica smart
> enough the second time around to recognize that it's already evaluated
> the function once for those arguments, and use a stored value?

  • Prev by Date: 1/Trig function - help
  • Next by Date: Re: Why doesn't Log[ E^x ] = x ?
  • Previous by thread: Repeated function evaluation?
  • Next by thread: Re: Repeated function evaluation?