unaryMinus

operator fun unaryMinus(): Vector2d<U>(source)

Negates the vector.

Return

the negated vector \(-\mathbf{v}\)