dpr method

double dpr(
  1. Vec other
)

Implementation

double dpr(Vec other) => x * other.x + y * other.y;