The NumPy Fortran-ordering quiz

Travis Oliphant oliphant at ee.byu.edu
Fri Oct 20 02:31:03 CDT 2006


A. M. Archibald wrote:

>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.
>
>  
>
Very, very nice.  Thanks. 



-------------------------------------------------------------------------
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