On Thursday, September 18, 2014 7:30:09 PM UTC+2, Dan Drake wrote:
>
> I guess I was holding a hammer and it made his problem look like a nail...
>
Second even larger hammer to the rescue:
from sage.misc.cachefunc import cached_function
@cached_function
def f(x):
return x^2+1
;-)
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.