Hello Laurent,
you wrote in part:
;; This line produce an error
;; I don't know wy. Can you help me please.
;; Thanks you.
(MASET $M $ELEMENTARRAY $I $J)
(1) The Maxima->Lisp translation functions sometimes
generate code which is obsolete or unworkable.
You have found such a case -- it is a bug in the translator.
(2) Try to change the above line to
(arrstore (list '($elementarray array) $i $j) $m)
-- I believe it will work in that case.
However it certainly is painful to patch the translator output!
(3) make_array returns a Lisp array, and Lisp arrays
are not well integrated into Maxima. (This is a design
problem.) Try to use a matrix instead -- Maxima works
better with matrix objects. "zeromatrix (nr, nc)" returns
a matrix (all elements equal to zero) with nr rows and nc
columns. I believe you will find that workable code is
generated by the translator for matrix assignments.
In closing, I will second the advice of Richard Fateman --
if you can show us a subset of the equations, we might be able
to help you find a more effective means of solution.
All the best,
Robert Dodier
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/