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

Definition

Computes the unary negation of a vector.

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

Parameters

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