not

Functions
not
Complete List of ArrayFire Functions ArrayFire Functions by Category » Mathematical functions » | Logical operations

Logical not of an input. More...

## 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] | out | will contain result of logical not of `in`. out is of type b8
  [in] | in | is 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