dot

infix fun dot(v: Vector2d<U>): Double(source)

Computes the dot product with another vector.

Return

the dot product \(\mathbf{v}_1 \cdot \mathbf{v}_2 = x_1 x_2 + y_1 y_2\)

Parameters

v

the other vector