Returns an iterable over the values of this Matrix in row-by-row.
Iterable<T> get rowMajor sync* { for (var r = 0; r < rowCount; r++) { for (var c = 0; c < colCount; c++) { yield getUnchecked(r, c); } } }