ILNumerics Ultimate VS

ConcreteArrayT1, LocalT, InT, OutT, RetT, StorageTOnesComplement Operator

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Unary, bitwise negation operator.

[ILNumerics Core Module]

Namespace:  ILNumerics.Core.Arrays
Assembly:  ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

public static RetT operator ~(
	ConcreteArray<T1, LocalT, InT, OutT, RetT, StorageT> A
)

Parameters

A
Type: ILNumerics.Core.ArraysConcreteArrayT1, LocalT, InT, OutT, RetT, StorageT
The input array.

Return Value

Type: RetT
Array with result of negating all elements, type .
Remarks

The operation is defined on integer arrays only and corresponds to the ~ operator on Int32.

If possible, the operation is performed 'inplace' by reusing the input array for the result.

Note, that ~ is not defined on floating point types and not on arrays of element type UInt64.

[ILNumerics Core Module]

See Also

Reference

Other Resources