isNanInf#

swordfish.function.isNanInf()#

Check each element in X to see if it is a NaN/Inf value.

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

  • includeNull (Constant) – A BOOLEAN.

Returns:

A BOOLEAN type of the same length as X. If includeNull is set to true, null values will return true. The default value of includeNull is false.

Return type:

Constant