[SciPy-dev] [Numpy-discussion] Re: How to handle a[...] in numpy?
ndarray at mac.com
Tue Jan 10 21:37:48 CST 2006
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 will explain the current state of affairs in Wiki
(http://projects.scipy.org/scipy/numpy/changeset/1866). Is this the
right Wiki for this type of stuff? I don't have access to
On 1/10/06, Sasha <ndarray at mac.com> wrote:
> Zero rank array assignments are in
> (http://projects.scipy.org/scipy/numpy/changeset/1866). I will follow
> Travis' suggestion and implement x[..., newaxis] as a special case.
> I still believe that the code can be refactored so that no explicit
> checks for nd==0 are
> necessary, but this can be done later. Also, before attempting any
> refactoring I would like to have a comprehansive test_multiarray that
> covers all the branches. Any volunteers?
> -- sasha
> On 1/10/06, Travis Oliphant <oliphant at ee.byu.edu> wrote:
> > Sasha wrote:
> > >I've commited the change (see
> > >http://projects.scipy.org/scipy/numpy/changeset/1864) that supports
> > >x[...] and x[()]. I will implement x[...] = value soon. The
> > >remaining feature x[..., newaxis] may require some
> > >refactoring, so no promises here. I have created a Wiki page to
> > >document the progress.
> > >
> > >
> > I would probably just handle this as a special case and not try to fit
> > it in to the general index-parsing code which is a bit complicated
> > because of all the functionality. Of course any improvements to that
> > code are always welcome...
> > -Travis
> > _______________________________________________
> > Scipy-dev mailing list
> > Scipy-dev at scipy.net
> > http://www.scipy.net/mailman/listinfo/scipy-dev
More information about the Scipy-dev