Routines (by topic) > Array Creation

Array Creation

BINDGEN- Returns byte array with each element set to its subscript.VOIGT

BYTARR - Creates a byte vector or array.

CINDGEN- Returns a complex array with each element set to its subscript.

COMPLEXARR - Creates a complex, single-precision, floating-point vector or array.

DBLARR - Creates a double-precision array.

DCINDGEN - Returns a double-precision, complex array with each element set to its subscript.

DCOMPLEXARR - Creates a complex, double-precision vector or array.

DINDGEN- Returns a double-precision array with each element set to its subscript.

FINDGEN- Returns a floating-point array with each element set to its subscript.

FLTARR - Returns a single-precision, floating-point vector or array.

IDENTITY - Returns an identity array (an array with ones along the main diagonal and zeros elsewhere) of the specified dimensions.

INDGEN- Return an integer array with each element set to its subscript.

INTARR - Creates an integer vector or array.

L64INDGEN - Returns a 64-bit integer array with each element set to its subscript.

LINDGEN- Returns a longword integer array with each element set to its subscript.

LON64ARR - Returns a 64-bit integer vector or array.

LONARR - Returns a longword integer vector or array.

MAKE_ARRAY - Returns an array of the specified type, dimensions, and initialization.

OBJARR - Creates an array of object references.

PTRARR- Creates an array of pointers.

REPLICATE - Creates an array of given dimensions, filled with specified value.

SINDGEN- Returns a string array with each element set to its subscript.

STRARR - Returns string array containing zero-length strings.

TIMEGEN - Returns an array of double-precision floating-point values that represent times in Julian dates.

UINDGEN - Returns unsigned integer array with each element set to its subscript.

UL64INDGEN- Returns an unsigned 64-bit integer array with each element set to its subscript.

ULINDGEN- Returns an unsigned longword array with each element set to its subscript.

ULON64ARR - Returns an unsigned 64-bit integer vector or array.

ULONARR - Returns an unsigned longword integer vector or array.