Check if values are infinite.
More...
Check if values are infinite.
- Note
- This function supports real inputs only. Complex inputs are not yet supported.
C Interface for checking if values are infinities.
- Parameters
-
| [out] | out | will contain 1's where input is Inf or -Inf, and 0 otherwise. |
| [in] | in | is 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
-
- Returns
- array containing 1's where input is Inf or -Inf, and 0 otherwise.