ArrayFire: isnan (original) (raw)
Check if values are NaN. More...
| Functions | |
|---|---|
| AFAPI array | isNaN (const array &in) |
| C++ Interface to check if values are NaN. More... | |
| AFAPI af_err | af_isnan (af_array *out, const af_array in) |
| C Interface to check if values are NaN. More... | |
Check if values are NaN.
◆ af_isnan()
C Interface to check if values are NaN.
Parameters
| [out] | out | array containing 1's where input is NaN; 0's otherwise |
|---|---|---|
| [in] | in | input array |
Returns
AF_SUCCESS, if function returns successfully, else an af_err code is given
C++ Interface to check if values are NaN.
Parameters
Returns
array containing 1's where input is NaN; 0's otherwise
Examples