Vector<T>.UnaryNegation(Vector<T>) Vector<T>.UnaryNegation(Vector<T>) Vector<T>.UnaryNegation(Vector<T>) Vector<T>.UnaryNegation(Vector<T>) Operator

Definition

Negates a given vector.

public:
 static System::Numerics::Vector<T> operator -(System::Numerics::Vector<T> value);
public static System.Numerics.Vector<T> operator - (System.Numerics.Vector<T> value);
static member ( ~- ) : System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<'T (requires 'T : struct)>
Public Shared Operator - (value As Vector(Of T)) As Vector(Of T)

Parameters

value
Vector<T> Vector<T> Vector<T> Vector<T>

The vector to negate.

Returns

The negated vector.

Remarks

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

Applies to