[Numpy-discussion] NumPy 1.0b1 at the door...
Travis Oliphant
oliphant.travis at ieee.org
Thu Jul 20 18:31:56 EDT 2006
Stefan van der Walt wrote:
> Hi Travis
>
> Albert and I are busy doing some final beta testing. Quick question:
> can Fortran-order arrays be contiguous, ever?
>
> In [62]: N.empty((3,3),order='F').flags['CONTIGUOUS']
> Out[62]: False
>
Thank you very much for the testing. You two have been amazingly helpful.
No. CONTIGUOUS means "C-CONTIGUOUS"
Now, 0-d and 1-d arrays can be both Fortran-contiguous *and*
C-contiguous which is why "FNC" exists to test against that case.
-Travis
More information about the NumPy-Discussion
mailing list