Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: How to avoid repeated recalculation of the same function
Replies: 5   Last Post: May 4, 2014 2:28 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Richard Fateman

Posts: 1,446
Registered: 12/7/04
Re: How to avoid repeated recalculation of the same function
Posted: May 3, 2014 3:39 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 5/1/2014 11:18 PM, pgeipi10@gmail.com wrote:

Instead of f[x_]:= stuff, write

f[x_]:= (f[x]= stuff).

Then it remembers.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2015. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.