[Rd] row ("FORTRAN") order?

Peter Dalgaard p.dalgaard at biostat.ku.dk
Mon Jan 3 21:04:23 CET 2005


Göran Broström <gb at tal.stat.umu.se> writes:

> Reading about 'R_max_col' in  "Writing R extensions", Version
> 2.1.0,(2005-01-03), I find:
> 
> "Given the nr by nc matrix matrix in row ("FORTRAN") order, ..."
> 
> Looks like a contradiction to me, since FORTRAN stores matrices
> columnwise. So is this a documentation bug?

Hmmmm. Maybe. FORTRAN order is known as column-*major* order. The row
index varies most quickly, so the question is whether "row order" may
have have some merit. Anyone have the terminology straight?

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907



More information about the R-devel mailing list