Check if values are infinite. More...

Functions

AFAPI array isInf (const array &in)
 C++ Interface for checking if values are Infinities. More...
 
AFAPI af_err af_isinf (af_array *out, const af_array in)
 C Interface for checking if values are infinities. More...
 

Detailed Description

Check if values are infinite.

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

Function Documentation

AFAPI af_err af_isinf ( af_array out,
const af_array  in 
)

C Interface for checking if values are infinities.

Parameters
[out]outwill contain 1's where input is Inf or -Inf, and 0 otherwise.
[in]inis input
Returns
AF_SUCCESS if the execution completes properly
AFAPI array af::isInf ( const array in)

C++ Interface for checking if values are Infinities.

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