countNanInf
Syntax
countNanInf(X, [includeNull=false])
Arguments
X is a DOUBLE type scalar, vector or matrix.
includeNull (optional) is a BOOLEAN value. The default value is false.
Details
An aggregate function that counts the number of NaN values and Inf values in X. When includeNull = true, the result includes the number of NULL values.
Related function: isNanInf