[]
Defines the unary - operator for vector.
public static Vector<T> operator -(Vector<T> value)
Type | Name | Description |
---|---|---|
Vector<T> | value | A Vector indicates the operand. |
Type | Description |
---|---|
Vector<T> | A Vector that is the unary minus result of the operands. |
-(n1, n2, n3) = (-n1, -n2, -n3)