[Numpy-discussion] arrays are column-wise or row-wise?

Brian Blais bblais at bryant.edu
Tue Mar 28 08:41:04 CST 2006


Francesc Altet wrote:
> 
> Nope. C arrangement of values is row-wise and Fortran is column-wise.
> You are seeing row-wise ordering, so everything behaves as it should.
> 

interesting.  I am coming from Matlab, where things are definitely column-wise 
organized.  I always assumed this was the C standard, but now that I think of it the 
C double array [][] is row-wise.

thanks,

			bb

-- 
-----------------

             bblais at bryant.edu
             http://web.bryant.edu/~bblais




More information about the Numpy-discussion mailing list