The UINDGEN function creates an unsigned integer array. Each element of the array is set to the value of its one-dimensional subscript.
Result = UINDGEN(D1 [, ..., D8])
Returns an unsigned integer array of the specified dimensions.
Either an array or a series of scalar expressions specifying the dimensions of the result. If a single argument is specified, it can be either a scalar expression or an array of up to eight elements. If multiple arguments are specified, they must all be scalar expressions. 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.
This routine is written to make use of IDL's thread pool, which can increase execution speed on systems with multiple CPUs. The values stored in the
To create UI, a 10-element by 10-element 16-bit array where each element is set to the value of its one-dimensional subscript, enter:
UI = UINDGEN(10, 10)
BINDGEN, CINDGEN, DCINDGEN, DINDGEN, FINDGEN, L64INDGEN, LINDGEN, SINDGEN, UL64INDGEN, ULINDGEN