From: Travis O. <oli...@ie...> - 2006-07-20 22:32:11
|
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 |