CINDGEN Function
Returns a complex single-precision floating-point array.
enabled.
Usage
result = CINDGEN(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 single 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 = CINDGEN(4)
INFO, c
; PV-WAVE prints: C               COMPLEX   = Array(4)
PM, c
; PV-WAVE prints the following:
; (      0.00000,      0.00000)
; (      1.00000,      0.00000)
; (      2.00000,      0.00000)
; (      3.00000,      0.00000)
See Also