#2116 lambda form for taylor_simplifier

open
nobody
3
2012-11-18
2010-12-09
No

When taylor_simplifier is a Maxima lambda form, taylor gives an error:

(%i14) taylor(sin(x),x,0,4), taylor_simplifier : lambda([s],s);
Maxima encountered a Lisp error:

OK for a CL function:

(%i9) taylor(sin(x),x,0,4), taylor_simplifier : radcan;
(%o9)/T/ x-x^3/6+...

Also OK

(%i15) f : lambda([s],s)$
(%i16) taylor(sin(x),x,0,4), taylor_simplifier : 'f;
(%o16)/T/ x-x^3/6+...

And not OK:

(%i17) taylor(sin(x),x,0,4), taylor_simplifier : f;
Maxima encountered a Lisp error:

Discussion


Log in to post a comment.