with linearalgebra:
(%i9) load(linearalgebra)$
(%i10) m : hilbert_matrix(100)$
(%i11) m[42,42];
(%o11) 1/83
without:
(%i12) q: genmatrix(lambda([i,j],1/(i+j-1)),100,100)$
(%i13) q[42,42];
(%o13) 1/83
The limitation of apply('matrix, ...) comes from the
Lisp you are using. Maybe before your Maxima was compiled
with a different Lisp. I believe that this limit on
the number of function arguments is allowed --- it's not
a Lisp bug.
Barton
-----maxima-bounces at math.utexas.edu wrote: -----
>To: maxima at math.utexas.edu
>From: Fabrizio Caruso
>Sent by: maxima-bounces at math.utexas.edu
>Date: 09/28/2006 06:48PM
>Subject: apply(matrix,...) fails
>
>
>With the latest version of Maxima I have
>encountered
>a new problem maybe caused by some limited buffer
>or
>new default setting:
>
>If I do a
>"
>apply(matrix,Hilbert(100))
>"
>where for instance Hilbert(100) is the 100x100
>Hilbert matrix,
>I get an error message on both the latest Windows
>and
>Linux versions of Maxima:
>"
>Maxima encountered a Lisp error:
>..... MACSYMA-TOP-LEVEL [or a callee] requires
>less than one
>hundered arguments
>.....
>"
>
>Is there a way to fix this or to convert a a
>100x100 list
>of lists into a 100x100 matrix?
>
> Regards
>
> Fabrizio
>
>_______________________________________________
>Maxima mailing list
>Maxima at math.utexas.edu
>http://www.math.utexas.edu/mailman/listinfo/maxim
>a
>
>