dot2 function

double dot2 (Vector2 x, Vector2 y)

2D dot product.

Implementation

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