isNanInf#

swordfish.function.isNanInf()#

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

参数:
  • X (Constant) -- A DOUBLE type scalar, vector or matrix.

  • includeNull (Constant) -- A BOOLEAN.

返回:

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.

返回类型:

Constant