e method

double? e(
  1. int row,
  2. int column, [
  3. double? value
])

Get an element in the matrix by index. Index starts at 0, not 1!!! @param value If provided, the matrix element will be set to this value.

Implementation

double? e(int row, int column, [double? value]){
  if (value == null) {
    return elements[column + 3 * row];
  } else {
    // Set value
    elements[column + 3 * row] = value;
    return null;
  }
}