The NumPy Fortran-ordering quiz

A. M. Archibald peridot.faceted at gmail.com
Fri Oct 20 02:01:46 CDT 2006


On 18/10/06, Travis Oliphant <oliphant.travis at ieee.org> wrote:

> If there are any cases satisfying these rules where a copy does not have
> to occur then let me know.

For example, zeros((4,4))[:,1].reshape((2,2)) need not be copied.

I filed a bug in trac and supplied a patch to multiarray.c that avoids
copies in PyArray_NewShape unless absolutely necessary.

A. M. Archibald

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642




More information about the Numpy-discussion mailing list