DINDGEN
The
DINDGEN function returns a
double-precision, floating-point array with the specified dimensions. Each element of the array is set to the value of its one-dimensional subscript.
Calling Sequence
Result = DINDGEN(
D
1
, ..., D
n
)
Arguments
D
i
The dimensions of the result. The dimension parameters may be any scalar expression. Up to eight dimensions may be specified. If the dimension arguments are not integer values, IDL will convert them to integer values before creating the new array.
Example
To create D, a 100-element, double-precision, floating-point array with each element set to the value of its subscript, enter:
D = DINDGEN(100)