dot2 function

double dot2(
  1. Vector2 x,
  2. Vector2 y
)

2D dot product.

Implementation

double dot2(Vector2 x, Vector2 y) => x.dot(y);