Navigation

Operators and Keywords

Function List:

C++ API

: isnan (x)

Return a logical array which is true where the elements of x are NaN values and false where they are not.

NA values are also considered NaN values. For example:

isnan ([13, Inf, NA, NaN])
     ⇒ [ 0, 0, 1, 1 ]

See also: isna, isinf, isfinite.

Package: octave