#585 taylor(taylor(exp(-x^2)...)) errors

open
nobody
5
2006-04-09
2004-07-15
Stavros Macrakis
No

taylor(taylor(exp(-x^2),x,inf,2),x,inf,2);

Error: NIL is not of type CONS.
Error signalled by PUSH-PW.

Also, bizarrely:

taylor(taylor(exp(-x^2)/sqrt(%pi),x,inf,2),x,inf,2)
=> 1/sqrt(%pi)+...

which is incorrect, but not a fatal error.

Discussion

  • Robert Dodier
    Robert Dodier
    2006-04-09

    • labels: --> Lisp Core - Taylor