DADiSP Worksheet Functions > Function Categories > Query Functions > ISINF

 

ISINF

Purpose:

Returns 1 for each element that is infinite (inf).

Syntax:

ISINF(series)

series

-

A series to test.

Returns:

A series where each element is 1 where the input series has an INF value and 0 where the input series is not INF.

Example:

a = {1, 2, inf, nan};

b = 5;

c = {};

 

isinf(a) == {0, 0, 1, 0}

isinf(b) == {0}

isinf(c) == {}

Remarks:

Unlike ISINFVALUE, ISINF always returns a series.

 

ISINF returns an empty series if the input is an empty series.

See Also:

FINITE

INF

ISEMPTY

ISFINITE

ISINFVALUE

ISNAN