Taylor series of elliptic_kc(m) about m=0 fails with error
- Subject: Taylor series of elliptic_kc(m) about m=0 fails with error
- From: Robert Dodier
- Date: Tue, 18 Sep 2012 15:43:02 +0000 (UTC)
On 2012-09-18, David Billinghurst <dbmaxima at gmail.com> wrote:
> Taylor series of elliptic_kc(m) about m=0 fails with
> maxima-5.28.0/gcl/windows and clisp/windows.
>
> taylor(elliptic_kc(m),m,0,1);
>
> Maxima encountered a Lisp error:
> Error in MACSYMA-TOP-LEVEL [or a callee]: Bind stack overflow.
Seems to get stuck in a loop in the Taylor code. With CMUCL I get, in
part:
1116: (TAYLOR2 ((%ELLIPTIC_EC SIMP) $M))
1117: (TSPLUS ((# $M) (# -1 #)))
1118: (TAYLOR2 ((MPLUS SIMP) (# $M) (# -1 #)))
1119: (TSTIMES ((# 1 2) (# $M -1) (# # #)))
1120: (TAYLOR2 ((MTIMES SIMP) (# 1 2) (# $M -1) (# # #)))
1121: (TSTIMES ((# 1 1) (# # # #) (# $M 1)))
1122: (TAYLOR2 ((MTIMES) (# 1 1) (# # # #) (# $M 1)))
1123: (TSPLUS ((# # # #) (# # $%PI)))
1124: (TAYLOR2 ((MPLUS) (# # # #) (# # $%PI)))
1125: (TAYLOR2 ((%ELLIPTIC_EC SIMP) $M))
best,
Robert Dodier