How to do matrix operation programatically in lisp
Subject: How to do matrix operation programatically in lisp
From: Richard Fateman
Date: Sat, 24 Nov 2007 16:42:30 -0800
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