Check if values are Nan. More...

Functions

AFAPI array isNaN (const array &in)
 C++ Interface for checking if values are NaNs. More...
 

Detailed Description

Check if values are Nan.

Note
This function supports real inputs only. Complex inputs are not yet supported.

Function Documentation

AFAPI array af::isNaN ( const array in)

C++ Interface for checking if values are NaNs.

Parameters
[in]inis input
Returns
array containing 1's where input is NaN, and 0 otherwise.