Re: [Rd] row ("FORTRAN") order?

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Tue 04 Jan 2005 - 23:35:31 EST

Peter Dalgaard <p.dalgaard@biostat.ku.dk> writes:

> 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?

Gordon Smyth didn't think "row order" made sense either, so I've changed "row" to "column-major" for r-devel.

-- 
   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

______________________________________________
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Tue Jan 04 22:53:10 2005

This archive was generated by hypermail 2.1.8 : Tue 04 Jan 2005 - 23:18:48 EST