Check if values are Nan. More...

Functions

AFAPI array isNaN (const array &in)
 C++ Interface for checking if values are NaNs. More...
 
AFAPI af_err af_isnan (af_array *out, const af_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 af_err af_isnan ( af_array out,
const af_array  in 
)

C Interface for checking if values are NaNs.

Parameters
[out]outwill contain 1's where input is NaN, and 0 otherwise.
[in]inis input
Returns
AF_SUCCESS if the execution completes properly
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.