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 ColumnMajorMatrix with
a row capacity of three and a column capacity of three:
| Index | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| Value | 1.5 | 3.7 | . | 2.6 | 4.8 | . | . | . | . |