rowRange method
Returns a mutable view onto the row range. Throws a RangeError, if
rowStart
or rowEnd
are out of bounds.
Implementation
Matrix<T> rowRange(int rowStart, [int? rowEnd]) {
rowEnd = RangeError.checkValidRange(
rowStart, rowEnd, rowCount, 'rowStart', 'rowEnd');
return rowRangeUnchecked(rowStart, rowEnd);
}