code: public Quaternion set (double x, double y, double z, double w) {
          this.x = x;
          this.y = y;
          this.z = z;
          this.w = w;
          return this;
      }
docs: Sets all of the elements of the quaternion.
  
  @return a reference to this quaternion, for chaining.