dotProduct method

double dotProduct(
  1. V4 o
)

Implementation

double dotProduct(V4 o) => x * o.x + y * o.y + z * o.z + w * o.w;