slicing suggestion

Travis Oliphant oliphant.travis at
Mon Oct 23 18:48:33 CDT 2006

JJ wrote:
> Hello.
> I have a suggestion that might make slicing using
> matrices more user-friendly.  I often have a matrix of
> row or column numbers that I wish to use as a slice. 
> If K was a matrix of row numbers (nx1) and M was a nxm
> matrix, then I would use ans = M[K.A.ravel(),:] to
I had thought that something like that would be useful.  It's called



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

More information about the Numpy-discussion mailing list