Bewerken

Share via


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

Definition

Computes the unary negation of a vector.

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

Parameters

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