แก้ไข

แชร์ผ่าน


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

Definition

Returns a new vector whose elements are obtained by taking the one's complement of a specified vector's elements.

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)

Parameters

value
Vector<T>

The source vector.

Returns

The one's complement vector.

Exceptions

.NET 5 and later: Type T is not supported.

Applies to