Helper function for arrays

-> ArrayFire Documentation

TOC

iszero()

Check if values are zero.

Result: AFArray: containing 1's where input is zero, and 0 otherwise.

isZero()

alias of iszero()

isInf()

Check if values are infinite.

Result: AFArray: containing 1's where input is infinity, and 0 otherwise.

isNaN()

Check if values are Nan.

Result: AFArray: containing 1's where input is NaN, and 0 otherwise.