[Maxima] How to do matrix operation programatically in lisp
Richard Fateman
fateman at cs.berkeley.edu
Sat Nov 24 18:42:30 CST 2007
I suspect KLin is using the word "parser" for a program that, when applied
to (($matrix)((mlist) 1 2) ((mlist) 3 4))
returns (matrix (1 2)(3 4)).
This kind of program is quite easy to do in lisp, especially in a
data-directed style.
RJF
_____
From: maxima-bounces at math.utexas.edu [mailto:maxima-bounces at math.utexas.edu]
On Behalf Of Stavros Macrakis
Sent: Saturday, November 24, 2007 1:25 PM
To: klin at umd.edu
Cc: maxima at math.utexas.edu; Robert Dodier
Subject: Re: [Maxima] How to do matrix operation programatically in lisp
On Nov 24, 2007 12:29 PM, Kun Lin <klin at umd.edu> wrote:
Maybe i am gonna write a parser so i can do something like
(eval (parse-maxima-to-lisp "invert(matrix[1,2],[3,4])"))
to automate the conversion between maxima and lisp.
? I don't understand what you're trying to do here. Maxima already includes
a parser, but why would your Lisp program be representing a matrix or its
inversion as a string?
-s
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.math.utexas.edu/pipermail/maxima/attachments/20071124/2aaafc9a/attachment.htm
More information about the Maxima
mailing list