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