operator [] method

double operator [] (int i)

Access the component of the quaternion at the index i.

Implementation

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