scalinfnanmiss#
Purpose#
Returns true if the argument is a scalar infinity, NaN, or missing value.
Format#
- y = scalinfnanmiss(x)#
- Parameters:
x (NxK matrix) – data
- Returns:
y (scalar) – 1 if x is a scalar, infinity, NaN, or missing value, else 0.
Examples#
// Create an infinity
x = 1/0;
if scalInfNanMiss(x);
print "x = " x;
else;
print "x is Not: a Nan, Infinity, or Missing";
endif;
See also
Functions isinfnanmiss()
, ismiss()
, scalmiss()