From p.dalgaard at biostat.ku.dk  Mon Jan  3 21:04:23 2005
From: p.dalgaard at biostat.ku.dk (Peter Dalgaard)
Date: Mon Jan  3 21:06:22 2005
Subject: [Rd] row ("FORTRAN") order?
In-Reply-To: <20050103155029.GA9568@tal.stat.umu.se>
References: <20050103155029.GA9568@tal.stat.umu.se>
Message-ID: <x2fz1i46uw.fsf@biostat.ku.dk>

G?ran Brostr?m <gb@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@biostat.ku.dk)             FAX: (+45) 35327907


[Rd] row ("FORTRAN") order?
Peter Dalgaard