operator [] method

double operator [](
  1. int i
)

Implementation

double operator [](int i) => getComponent(i);