setEntry method

void setEntry(
  1. int row,
  2. int col,
  3. double v
)

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));

  _m3storage[index(row, col)] = v;
}