Previous IDL Reference Guide: Procedures and Functions Next

DCOMPLEXARR

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

The DCOMPLEXARR function returns a complex, double-precision, floating-point vector or array.

Syntax

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

Return Value

Returns a complex, double-precision, floating-point vector or array of the specified dimensions.

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, DCOMPLEXARR sets every element of the result to zero. If the NOZERO keyword is set, this zeroing is not performed, and DCOMPLEXARR executes faster.

Examples

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

DC = DCOMPLEXARR(5, 5)  

Version History

4.0
Introduced

See Also

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

  IDL Online Help (March 06, 2007)