operator / method

Quaternion operator /(
  1. double s
)

Implementation

Quaternion operator /(double s) {
  return Quaternion(x / s, y / s, z / s, w / s);
}