From: John Gillespie
Subject: Matrix routines in common lisp?
Date: 
Message-ID: <4de2l1$s6t@mark.ucdavis.edu>
Is there a common lisp matrix package out there that is known and
loved by the lisp community? I found two, but each has problems in my
hands (which aren't very skilled).  One package,

.../ai-repository/ai/lang/lisp/code/math/matrix/matrix.lsp

uses a "loop for" construct, which is new to me.  I am using GCL and
notice that a SLOOP package is present, but I can't figure out how to
get it to work with matrix.lsp.

The other is in

.../ai-repository/ai/lang/lisp/code/math/clmath.tgz

and is called matrix.lisp.  Some of the routines in this package have
conspicuous errors, like argument reversals in 'copy-matrix' and
incorrect numbers of arguments in 'matrix-solve-test' that make uneasy
about the stability of this code.

Should I work out my problems with one or both of these or find a
third?  Any suggestions would be received with enthusiasm!

john
From: Jeff Dalton
Subject: Re: Matrix routines in common lisp?
Date: 
Message-ID: <DLC3xn.C6L.0.macbeth@cogsci.ed.ac.uk>
In article <··········@mark.ucdavis.edu> ···········@ucdavis.edu writes:
>Is there a common lisp matrix package out there that is known and
>loved by the lisp community? I found two, but each has problems in my
>hands (which aren't very skilled).  One package,
>
>.../ai-repository/ai/lang/lisp/code/math/matrix/matrix.lsp
>
>uses a "loop for" construct, which is new to me.  I am using GCL and
>notice that a SLOOP package is present, but I can't figure out how to
>get it to work with matrix.lsp.

A solution is (probably) at hand.  SLOOP is not exactly like LOOP,
but the One True Loop Implementation will work in GCL (1.1 at least)
with only minor modifications.

I've put such a modified copy in:

http://www.aiai.ed.ac.uk/~jeff/local-ftp/pub/home/jeff/

(I'll put it somewhere w/ a nicer URL at some point...)

-- jeff