Here is an example of a dense complex matrix with two rows and two columns:
Col-0 | Col-1 | |
Row-0 | 1.5, 0.1 | 2.6, 0.2 |
Row-1 | 3.7, 0.3 | 4.8, 0.4 |
This is how the 2x2 matrix would be stored in a complex RowMajorMatrix
with a row capacity of three and a column capacity of three:
Index | 0-1 | 2-3 | 4-5 | 6-7 | 8-9 | 10-11 | 12-13 | 14-15 | 16-17 |
Value | 1.5, 0.1 | 2.6, 0.2 | . | 3.7, 0.3 | 4.8, 0.4 | . | . | . | . |