[SciPy-dev] [Numpy-discussion] Re: How to handle a[...] in numpy?

Travis Oliphant oliphant.travis at ieee.org
Wed Jan 11 01:34:13 CST 2006


Sasha wrote:

>As promised, newaxis support is in svn.  I am reasonably confident that
>I've got memory management issues right, but I would appreciate if someone
>reviews the code. (http://projects.scipy.org/scipy/numpy/changeset/1871).
>  
>

I made just a couple of changes to the new checkin:  now only 1 ellipsis 
is allowed.  In the n-d case multiple ellipsis always treats elipsis 
after the first as ':' (full slice objects).  But 0-d arrays can't use  
the ':' object and so multiple ellipses should not be allowed. 

-Travis




More information about the Scipy-dev mailing list