set method
Sets the scalar at the provided row
and col
index to value
. Throws a
RangeError if row
or col
are outside of bounds.
Implementation
@nonVirtual
void set(int row, int col, T value) {
RangeError.checkValidIndex(row, this, 'row', rowCount);
RangeError.checkValidIndex(col, this, 'col', colCount);
setUnchecked(row, col, value);
}