DCINDGEN

The DCINDGEN function returns a complex, double-precision, floating-point array with the specified dimensions. Each element of the array has its real part set to the value of its one-dimensional subscript. The imaginary part is set to zero.

Calling Sequence

Result = DCINDGEN( D 1 , ..., D n )

Arguments

D i

The dimensions of the result. The dimension parameters can be any scalar expression. Up to eight dimensions can 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 DC, a 4-element vector of complex values with the real parts set to the value of their subscripts, enter:

DC = DCINDGEN(4)

See Also

BINDGEN , CINDGEN , DINDGEN , FINDGEN , INDGEN , LINDGEN , SINDGEN