Bitwise not on the input. More...

Functions

AFAPI af_err af_bitnot (af_array *out, const af_array in)
 C Interface for performing bitwise not on input. More...
 
array operator~ () const
 Performs a bitwise not operation on the values of the array. More...
 

Detailed Description

Bitwise not on the input.

Note
This function supports integer only.

Function Documentation

◆ af_bitnot()

AFAPI af_err af_bitnot ( af_array out,
const af_array  in 
)

C Interface for performing bitwise not on input.

Parameters
[out]outwill contain result of bitwise not of in.
[in]inis the input
Returns
AF_SUCCESS if the execution completes properly

◆ operator~()

array operator~ ( ) const

Performs a bitwise not operation on the values of the array.

Returns
an array with inverted values