Vector<T>::UnaryNegation Operator

Negates a given vector.

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
static Vector<T> operator -(
	Vector<T> value
)

Parameters

value
Type: System.Numerics::Vector<T>

The vector to negate.

Return Value

Type: System.Numerics::Vector<T>
The negated vector.

The UnaryNegation method defines the unary negation operation for Vector<T> objects.

Show: