From: Gross, S. <SG...@sj...> - 2007-05-16 18:01:50
|
Hi folks... I've got a 2-dimensional array of doubles (a matrix, that is): Array<double, 2>.=20 =20 (1) I want to make sure that the underlying data is stored in column-major format. Is this correct: =20 blitz::Array<double, 2> foo(n, m, blitz::ColumnMajorArray<2>()); =20 (2) In the above example, is 'n' the row count or the column count? =20 (3) In the above example, if you invoke foo(x, y), is 'x' the row index or the column index? =20 (4) For that matter, what will foo::rows() and foo::columns() return? =20 Thanks! --Steve (sg...@sj...) |