Input requested on Linear Algebra package feature...

From: Pasha Murat (murat@cdfsga.fnal.gov)
Date: Fri Nov 14 1997 - 16:40:26 MET


Fons Rademakers writes:
 > There is one fundamental point on which I would like to get input.
 > The question is:
 >   Should matrices and vectors by default range from
 >     0 - n-1   (like arrays in C/C++)
 >   or
 >     1 - n     (like in math and Fortran)

	Hello,

I've tried both notations for a while. Finally I came to a conclusion that
for matrices and vectors (which unlike arrays are purely math concepts)
it is more reasonable to preserve default math (1:n) indexing. 

On the other hand for arrays, which give us an example of internal language
type, is also natural to use default indexing scheme for this 
language (0:n-1 for C/C++, 1:n for FORTRAN).

						Regards, Pasha



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:22 MET