|
From: Daniel J S. <dan...@ie...> - 2005-01-07 20:54:47
|
Ethan Merritt wrote: >Longer answer >------------- > >Some programming languages (e.g. C) and some application >communities (e.g. image processing) choose instead to refer to >arrays as A[column,row]. That is, the words "row" and "column" >now correspond to the 2nd and the 1st index respectively. >In this case "column major" still means "1st index varies fastest" >but the 1st index is unfortunately called "column" rather than >"row". I have no idea why this terribly confusing choice of terms >was introduced. > > > I too wonder how that ever came about. Whenever I program C arrays, I always test to make sure I'm indexing in the right fashion rather than go from memory. >So gnuplot's current use of the word "columnmajor" may be >technically correct with regard to internal storage of C arrays. >But the user doesn't care about internal arrays, only about >the appearance of the output page. We should change it to match >the output page. > Exactly. I'm sure this will effect Octave and perhaps others. But I'd prefer this be fixed in Gnuplot. Dan |