The NumPy Fortran-ordering quiz

Charles R Harris charlesr.harris at
Wed Oct 18 17:44:23 CDT 2006

On 10/18/06, Travis Oliphant <oliphant at> wrote:
> Charles R Harris wrote:
> > Well, I knew that for numeric, but it was a good deal less obvious in
> > combo with the order keyword.  For instance, contiguous could change
> > its meaning to match up with FORTRAN, so that FORTRAN=True and
> > CONTIGUOUS=True meant Fortran contiguous, which was sort of what I was
> > thinking. Explicit never hurts.
> Ahh, so you were confused by looking at flags for 1-d arrays (where

More confused by what seemed to make sense to me. Tim was the one who
actually ran the experiment to see what was going on, and he wasn't sure
what FORTRAN meant either. Now if I had accessed the full set of offsets,
strides, and counts, it would all have become clear. Numpy tries to hide the
nasty details, which is good until you really have to know what it happening

-------------- next part --------------
An HTML attachment was scrubbed...
-------------- 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

More information about the Numpy-discussion mailing list