operator [] method

T operator [] (int index)

Retrieves the vector at index.

Implementation

T operator [](int index) {
  final T r = newVector();
  load(index, r);
  return r;
}