On 9 May 2012 19:55, Stefan Behnel <[email protected]> wrote: > mark florisson, 09.05.2012 20:45: >> You can also use newaxis indexing or transpose the view > > What is "newaxis indexing"? > > Stefan > _______________________________________________ > cython-devel mailing list > [email protected] > http://mail.python.org/mailman/listinfo/cython-devel
It's when you introduce a new one-sized dimension. E.g. if you have a 1D array with shape (10,), and index it like myarray[None, :], you get a 2D array with shape (1, 10). There is a pending pull request for that (which should make it into 0.17). _______________________________________________ cython-devel mailing list [email protected] http://mail.python.org/mailman/listinfo/cython-devel
