Vector256<T>.UnaryNegation(Vector256<T>) 运算符

定义

计算向量的一元求反。

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)

参数

vector
Vector256<T>

要求反的向量。

返回

一个向量,其元素是 中 vector相应元素的一元反数。

例外

不支持向量 (T) 的类型。

适用于