| Kevin Ryde on Sat, 14 Oct 2017 02:24:32 +0200 | 
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: a(n+1) = log(1+a(n)) | 
Jacques Gélinas <jacquesg00@hotmail.com> writes:
>
> P.S. memoize.gp
:)  For reference, I don't take builtins directly, and then you can't
redefine a builtin like log (probably wouldn't want to), so it'd be a
user mylog() looking like
    read("memoize.gp");
    mylog=memoize(x->log(x));
    print(mylog(2));     \\ memoized