A high-performance general-purpose compute library

Evaluate the logical NOT of an array. More...

Functions

AFAPI af_err af_not (af_array *out, const af_array in)
 C Interface to evaluate the logical NOT of an array. More...
 
array operator! () const
 Performs a not operation on the values of the array. More...
 

Detailed Description

Evaluate the logical NOT of an array.

Function Documentation

◆ af_not()

AFAPI af_err af_not ( af_array out,
const af_array  in 
)

C Interface to evaluate the logical NOT of an array.

Output type is b8.

Parameters
[out]out!, logical NOT
[in]ininput array
Returns
AF_SUCCESS, if function returns successfully, else an af_err code is given

◆ operator!()

array operator! ( ) const

Performs a not operation on the values of the array.

Returns
an array with negated values