Previous IDL Reference Guide: Procedures and Functions Next

COMPLEXARR

Syntax | Return Value | Arguments | Keywords | Examples | Version History | See Also

The COMPLEXARR function returns a complex, single-precision, floating-point vector or array.

Syntax

Result = COMPLEXARR( D1[, ..., D8] [, /NOZERO] )

Return Value

Returns a complex, single-precision, floating-point vector or array.

Arguments

Di

Either an array or a series of scalar expressions specifying the dimensions of the result. If a single argument is specified, it can be either a scalar expression or an array of up to eight elements. If multiple arguments are specified, they must all be scalar expressions. Up to eight dimensions can be specified.

Keywords

NOZERO

Normally, COMPLEXARR sets every element of the result to zero. If the NOZERO keyword is set, this zeroing is not performed, and COMPLEXARR executes faster.

Examples

To create an empty, 5-element by 5-element, complex array C, enter:

C = COMPLEXARR(5, 5)  

Version History

Original
Introduced

See Also

DBLARR, DCOMPLEXARR, FLTARR, INTARR, LON64ARR, LONARR, MAKE_ARRAY, STRARR, UINTARR, ULON64ARR, ULONARR

  IDL Online Help (March 06, 2007)