[Numpy-discussion] another view puzzle

Christopher Barker Chris.Barker@noaa....
Wed Jun 3 16:18:05 CDT 2009


josef.pktd@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@noaa.gov


More information about the Numpy-discussion mailing list