negate method

V2 negate()

Returns a new vector with all components negated.

Implementation

V2 negate() => _v2(-x, -y);