What does Fortran order mean?

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


Travis,

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.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.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
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion


More information about the NumPy-Discussion mailing list