On Tue, 18 Aug 2009, Barton Willis wrote:
< Or
<
< (%i1) xreduce("+", makelist(f(concat(a,k)),k,0,65))$
< (%i2) facsum(%,'operator(f));
< Maxima encountered a Lisp error:
< Error in MACSYMA-TOP-LEVEL [or a callee]: MACSYMA-TOP-LEVEL [or a callee]
< requires less than sixty-seven arguments.
<
< Or just
<
< (%i3) apply('ratsimp, makelist(concat(a,k),k,0,65));
< Maxima encountered a Lisp error:
< Error in MACSYMA-TOP-LEVEL [or a callee]: MACSYMA-TOP-LEVEL [or a callee]
< requires less than sixty-six arguments.
< Automatically continuing.
<
< Other than not using facsum, I can't think of an easy workaround.
This is a limitation of the lisp. Try cmucl or clisp which have a substantially
larger call-arguments-limit.
(%i15) apply('ratsimp, create_list('a[k],k,1,6500));
Evaluation took 14.2600 seconds (14.2600 elapsed) using 73.166 MB.
(%o15) 'a[1]
(%i16) build_info();
Maxima version: 5.19.0
Maxima build date: 20:10 8/10/2009
host type: i686-pc-linux-gnu
lisp-implementation-type: CMU Common Lisp
lisp-implementation-version: CVS 19d 19d-release (19D)
Leo
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.