setEntry method Null safety
Set value at row
, col
to be v
.
Implementation
void setEntry(int row, int col, double v) {
assert((row >= 0) && (row < dimension));
assert((col >= 0) && (col < dimension));
_m2storage[index(row, col)] = v;
}
Set value at row
, col
to be v
.
void setEntry(int row, int col, double v) {
assert((row >= 0) && (row < dimension));
assert((col >= 0) && (col < dimension));
_m2storage[index(row, col)] = v;
}