ArrayFire: not (original) (raw)
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... | |
Evaluate the logical NOT of an array.
◆ af_not()
C Interface to evaluate the logical NOT of an array.
Output type is b8.
Parameters
| [out] | out | !, logical NOT |
|---|---|---|
| [in] | in | input 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