[ENH] Matrix-raok

marcus at ira.uka.de marcus at ira.uka.de
Mon Nov 24 18:03:51 UTC 2003


md: resending this, cause even with 2500 messages loaded, BFAV
doesn't show this changeset.

from preamble:

"Change Set:		Matrix-raok
Date:			18 October 2002
Author:			Richard A. O'Keefe

This started with me noticing that many of the Collection methods that
make
sense for 2D arrays did not work for Squeak's Array2D class.  Having
fixed
that, I went on to provide a lot of other good stuff, but realised too
late that
Array2D has its subscripts in the wrong order so I don't want to use it
anyway.
Therefore I created a new Matrix class which does the same job as
Array2D but
is free of Array2D's more glaring defects.  In particular, elementwise
arithmetic,
matrix multiplication, transposition, swapping rows and swapping
columns, printing,
and element searches are provided.

This change set also adds unary math functions to Collection so they can
be used with Matrix and other collections.  aSet cos makes sense.

Some new methods for submatrices were added in November, in response to
some
questions from Bert Freudenberg.  Unfortunately, they were added to the
wrong
version, hence the need for a correction."!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Matrix-raok.cs.gz
Type: application/octet-stream
Size: 6939 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20031124/5933c49b/Matrix-raok.cs.obj


More information about the Squeak-dev mailing list