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.
 
array operator! () const
 Performs a not operation on the values of the array.
 

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.

Parameters
[out]outresult of logical NOT; type is b8
[in]ininput
Returns
AF_SUCCESS if the execution completes properly

◆ operator!()

array operator! ( ) const

Performs a not operation on the values of the array.

Returns
an array with negated values