Sets the value at the specified row and column.
row
col
value
void set(int row, int col, double value) { values[row * 3 + col] = value; }