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

定义

计算向量的 1-补。

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 op_OnesComplement : System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)>
static member op_OnesComplement : System.Runtime.Intrinsics.Vector256<'T> -> System.Runtime.Intrinsics.Vector256<'T>
Public Shared Operator Not (vector As Vector256(Of T)) As Vector256(Of T)

参数

vector
Vector256<T>

要计算其补数的向量。

返回

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

例外

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

适用于