operator []= method

void operator []=(
  1. int i,
  2. double v
)

Set the component of the vector at the index i.

Implementation

void operator []=(int i, double v) {
  _v2storage[i] = v;
}