Bewerken

Share via


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

Definition

Computes the unary negation of a vector.

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

Parameters

vector
Vector64<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