Reference Guide > D Routines > DCINDGEN Function
  

DCINDGEN Function
Returns a double-precision floating-point complex array.
enabled.
Usage
result = DCINDGEN(dim1[, dim2 , ... , dimn])
Input Parameters
dimiThe dimensions of the result. The dimensions may be any scalar expression, and up to eight dimensions may be specified.
Returned Value
result — An initialized complex array with real and imaginary parts of type double precision, floating point. If the resulting array is treated as a one-dimensional array, then its initialization is given by the following:
Keywords
None.
Example
c = DCINDGEN(4)
INFO, c
; PV-WAVE prints: C DOUBLE COMPLEX   = Array(4)
PM, c
; PV-WAVE prints the following:
; (      0.0000000,      0.0000000)
; (      1.0000000,      0.0000000)
; (      2.0000000,      0.0000000)
; (      3.0000000,      0.0000000)
See Also
COMPLEX,   COMPLEXARRDCOMPLEX,   DCOMPLEXARR, LINSPACE

Version 2017.1
Copyright © 2019, Rogue Wave Software, Inc. All Rights Reserved.