[Numpy-discussion] Slightly altered multidimensional slicing behavior

Travis Oliphant oliphant at ee.byu.edu
Fri Mar 11 18:27:31 CST 2005


Hi all,

I've updated the PEP on the numeric web page to reflect an improved (I 
think) usage of Ellipsis and slice objects when mixed with integer 
indexing arrays.

Basically,  since partial indexing already assumed an ending ellipsis.  
The presence of ellipsis or slice objects in the tuple, allow the user 
to move the position of the partial indexing.

It does get a little mind blowing, but is actually not "too" bad using 
the mapiter object to implement. 

-Travis






More information about the Numpy-discussion mailing list