Functions

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

Detailed Description

Logical not of an input

Function Documentation

◆ af_not()

AFAPI af_err af_not ( af_array out,
const af_array  in 
)

C Interface for performing logical not on input.

Parameters
[out]outwill contain result of logical not of in. out is of type b8
[in]inis the input
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