dot method

double dot(
  1. Quaternion v
)

Implementation

double dot(Quaternion v) {
  return _x * v._x + _y * v._y + _z * v._z + _w * v._w;
}