plus

operator fun plus(v: Vector2d<U>): Vector2d<U>(source)

Adds two vectors component-wise.

Return

the sum \(\mathbf{v}_1 + \mathbf{v}_2\)

Parameters

v

the vector to add