DCOMPLEXARR Function

Returns a double-precision floating-point complex vector or array.

enabled.

Usage

    result = DCOMPLEXARR(dim1[, dim2, ... , dimn])

Input Parameters

dimi — The dimensions of the result. May be any scalar expression. Up to eight dimensions may be specified.

Returned Value

result — A complex double-precision floating-point vector or array.

Keywords

Nozero — If Nozero is nonzero, the normal zeroing (see Discussion) is not performed, thereby causing DCOMPLEXARR to execute faster.

Discussion

Normally, DCOMPLEXARR sets every element of the result to zero.

Example

c = DCOMPLEXARR(3)
INFO, c
; PV-WAVE prints: C DOUBLE COMPLEX = Array(3)
PM, c
; PV-WAVE prints the following:
; (      0.0000000,      0.0000000)
; (      0.0000000,      0.0000000)
; (      0.0000000,      0.0000000)

See Also

BYTARR, CINDGEN, DBLARR, DCOMPLEX, DOUBLE, FLTARR, INTARR, LONARR