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)>
static member op_OnesComplement : System.Numerics.Vector<'T> -> System.Numerics.Vector<'T>
Public Shared Operator Not (value As Vector(Of T)) As Vector(Of T)

參數

value
Vector<T>

來源向量。

傳回

一補數向量。

例外狀況

.NET 5 和更新版本:不支持類型 T

適用於