operator [] method

double operator [](
  1. int i
)

Access the component of the quaternion at the index i.

Implementation

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