[]
        
(Showing Draft Content)

C1.Framework.Mathematics.Vector-1.op_UnaryNegation

operator - Operator

operator -(Vector<T>)

Defines the unary - operator for vector.

Declaration
public static Vector<T> operator -(Vector<T> value)
Parameters
Type Name Description
Vector<T> value

A Vector indicates the operand.

Returns
Type Description
Vector<T>

A Vector that is the unary minus result of the operands.

Remarks

-(n1, n2, n3) = (-n1, -n2, -n3)