Vector<T>.OnesComplement(Vector<T>) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.