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

定义

返回一个新向量,其元素是通过取用指定向量的元素的二进制反码来获取的。

public:
 static System::Numerics::Vector<T> operator ~(System::Numerics::Vector<T> value);
public static System.Numerics.Vector<T> operator ~ (System.Numerics.Vector<T> value);
static member op_OnesComplement : System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<'T (requires 'T : struct)>
Public Shared Operator Not (value As Vector(Of T)) As Vector(Of T)

参数

value
Vector<T>

源向量。

返回

Vector<T>

二进制反码向量。

例外

.NET 5 及更高版本:不支持类型 T

适用于