operator [] method

  1. @nonVirtual
Vector<T> operator [](
  1. int row
)

Returns a mutable row vector of this matrix. Convenience method to read matrix values using row and column indexes: matrix[row][col].

Implementation

@nonVirtual
Vector<T> operator [](int row) {
  RangeError.checkValidIndex(row, this, 'row', rowCount);
  return rowUnchecked(row);
}