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

Definition

Computes the unary negation of a vector.

public:
 static System::Runtime::Intrinsics::Vector128<T> operator -(System::Runtime::Intrinsics::Vector128<T> vector);
public static System.Runtime.Intrinsics.Vector128<T> operator - (System.Runtime.Intrinsics.Vector128<T> vector);
static member ( ~- ) : System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)>
static member ( ~- ) : System.Runtime.Intrinsics.Vector128<'T> -> System.Runtime.Intrinsics.Vector128<'T>
Public Shared Operator - (vector As Vector128(Of T)) As Vector128(Of T)

Parameters

vector
Vector128<T>

The vector to negate.

Returns

A vector whose elements are the unary negation of the corresponding elements in vector.

Exceptions

The type of the vector (T) is not supported.

Applies to