ISCOMPLEX

Purpose:

Returns 1 if the input parameter is a complex scalar or series.

Syntax:

ISCOMPLEX(val)

val

-

A series, scalar or string value to test.

Returns:

The scalar 1 if the input is complex or a complex series, else 0.

Example:

iscomplex(3i)

 

returns 1.

Example:

iscomplex("string")

 

returns 0.

Example:

iscomplex(fft({1, 2, 3, 4}))

 

returns 1

Remarks:

If the input series is empty, iscomplex returns 0.

 

ISCOMPLX is identical to ISCOMPLEX

See Also:

COMPLEX

ISARRAY

ISNUMERIC

ISREAL

ISSCALAR

ISSTRING

MAKECARTESIAN

MAKEPOLAR