countNanInf#

swordfish.function.countNanInf()#

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.

Parameters:
  • X (Constant) – A DOUBLE type scalar, vector or matrix.

  • includeNull (Constant, optional) – A BOOLEAN value. The default value is false.