Vector<T>.OnesComplement(Vector<T>) Operator

Definition

Returnerar en ny vektor vars element erhålls genom att ta ens komplement av en angiven vektors element.

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)

Parametrar

value
Vector<T>

Källvektorn.

Returer

Den enas komplementvektor.

Undantag

.NET 5 och senare: Skriv T stöds inte.

Gäller för