Vector256.OnesComplement<T>(Vector256<T>) 方法

定义

计算矢量的补数。

public:
generic <typename T>
 where T : value class static System::Runtime::Intrinsics::Vector256<T> OnesComplement(System::Runtime::Intrinsics::Vector256<T> vector);
public static System.Runtime.Intrinsics.Vector256<T> OnesComplement<T> (System.Runtime.Intrinsics.Vector256<T> vector) where T : struct;
static member OnesComplement : System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)> (requires 'T : struct)
Public Function OnesComplement(Of T As Structure) (vector As Vector256(Of T)) As Vector256(Of T)

类型参数

T

向量中的元素的类型。

参数

vector
Vector256<T>

要计算其补数的向量。

返回

Vector256<T>

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

适用于