What does Fortran order mean?

Charles R Harris charlesr.harris at gmail.com
Mon Oct 16 15:20:04 CDT 2006


I note that

>>> a = arange(6).reshape(2,3,order='F')
>>> a
array([[0, 1, 2],
       [3, 4, 5]])

Shouldn't that be 3x2? Or maybe [[0,2,4],[1,3,5]]? Reshape is making a copy,
but flat, flatten, and tostring all show the elements in 'C' order. I ask
because I wonder if changing the order can be used to prepare arrays for
input into the LaPack routines.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20061016/addb06c3/attachment.html 
-------------- next part --------------
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
-------------- next part --------------
Numpy-discussion mailing list
Numpy-discussion at lists.sourceforge.net

More information about the Numpy-discussion mailing list