dot

infix fun dot(other: Vector2d): Double

Returns the dot product of two vectors.