[Numpy-discussion] Slicing without a priori knowledge of dimension

Matthew Czesarski matthew.czesarski@gmail....
Wed Aug 6 08:46:43 CDT 2008

Dear Hoyt,

Thanks -- that hit the spot!

Looks like it was a case of me looking for the answer in the wrong place.
Assuming that there would be some sophisticated numpy method -- E.g.
A.dim_slice( ( 2,5,... ) ) -- that slices up the array and gives you back
the sub-full dimensional matrix you're looking for. But it was there all
along as a builtin...

Thanks for the pointer,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080806/4e93a1fe/attachment.html 

More information about the Numpy-discussion mailing list