[98] in mathematical software users group

home help back first fref pref prev next nref lref last post

Re: maple questions(compare matrices;packages;parameters)

daemon@ATHENA.MIT.EDU (Reid M. Pinchback)
Thu Jun 24 11:32:54 1993

To: siman@BOURBAKI.MIT.EDU
Cc: msug@Athena.MIT.EDU
In-Reply-To: Your message of Wed, 23 Jun 93 18:16:42 -0400.
Date: Thu, 24 Jun 93 11:32:24 EDT
From: "Reid M. Pinchback" <reidmp@Athena.MIT.EDU>


One correction... the routine for comparing matrices is

	linalg[equal]

I had said the routine was linalg[equality], which is incorrect.  You
can use linalg/equal for vectors and matrices (which are one and
two-dimensional arrays with indices starting at one).  The only way I
know of to compare more general arrays like:

	array(-1..2,[1,2,3,4]):

is the painful way... by comparing the both the range indices and all
the elements of the array.  There are lots of ways you can do this,
but they boil down to writing about a half dozen lines of code.

-----------
Reid M. Pinchback
Faculty Liaison
Academic Computing Services, MIT

home help back first fref pref prev next nref lref last post