RowMajorMatrix - Real


The RowMajorMatrix is a dense row-major matrix of double values.The elements are store contiguously in a single java array. This matrix is efficient for numerical computing, especially row-wise computations.

Here is an example of a dense matrix with two rows and two columns:
 
Col-0 Col-1
Row-0 1.5 2.6
Row-1 3.7 4.8

This is how the 2x2 matrix would be stored in a RowMajorMatrix with a row capacity of three and a column capacity of three:
 
Values
 Index    0    1    2    3    4    5    6    7    8 
 Value  1.5 2.6 .  3.7 4.8 . . . .



Copyright(C)1997-99 by DRA Systems all rights reserved.