[Numpy-discussion] matrix wart

Christopher Barker Chris.Barker@noaa....
Fri Feb 22 12:48:02 CST 2008

Alan G Isaac wrote:
> I propose that the user-friendly question is:
> why deviate needlessly from array behavior?

because that's the whole point of a Matrix object in the first place.

> (Needlessly means: no increase in functionality.)

Functionally, you can do everything you need to do with numpy arrays. 
The only reason there is a matrix class is to create a more natural, and 
readable way to do linear algebra. That's why the current version always 
returns matrices -- people don't want to have to keep converting back to 
matrices from arrays.


Christopher Barker, Ph.D.

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception


More information about the Numpy-discussion mailing list