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

定义

计算向量的一元求反。

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)

参数

vector
Vector128<T>

要求反的向量。

返回

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

例外

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

适用于