DINDGEN Function
Returns double-precision floating-point array with specified dimensions.
enabled.
Usage
result = DINDGEN(dim1, ..., dimn)
Input Parameters
dimi — The dimensions of the result. May be any scalar expression. Up to eight dimensions may be specified.
Returned Value
result — An initialized double-precision, floating-point array. If the resulting array is treated as a one-dimensional array, then its initialization is given by the following:
Keywords
None.
Example
This example creates a 4-by-2 double-precision, floating-point array.
; Create double-precision, floating-point array.
a = DINDGEN(4, 2)
INFO, a
; PV-WAVE prints: A DOUBLE = array(4, 2)
PRINT, a
; PV-WAVE prints:
; 0.0000000 1.0000000 2.0000000 3.0000000
; 4.0000000 5.0000000 6.0000000 7.0000000
See Also