[Numpy-discussion] another view puzzle

Christopher Barker Chris.Barker at noaa.gov
Wed Jun 3 17:18:05 EDT 2009


josef.pktd at gmail.com wrote:
> Ok, I didn't know numpy can have structured matrices,

well, matrices are a subclass of nd-arrays, so they support it, but it's 
probably not the least bit useful.

See my earlier post to see how to do what I think you want.

You may not want a matrix anyway -- a 2-d array may be a better bet. the 
only thing matrices buy you is convenient linear algebra operations.

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer

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

Chris.Barker at noaa.gov



More information about the NumPy-Discussion mailing list