Array Creation Routines
ASARR(key
1, value
1, ... key
n , value
n)
ASARR(keys_arr, values_list)
Creates an associative array containing specified variables and expressions.
BINDGEN (dim
1 [, dim
2, ... , dim
n] )
Returns a byte array with the specified dimensions, setting the contents of the result to increasing numbers starting at 0.
BYTARR (dim
1 [, dim
2, ... , dim
n] )
Returns a byte vector or array.
CINDGEN (dim
1 [, dim
2 , ... , dim
n] )
Returns a complex single-precision floating-point array.
COMPLEXARR (dim
1 [, dim
2, ... , dim
n] )
Returns a complex single-precision floating-point vector or array.
DBLARR (dim
1, ... , dim
n)
Returns a double-precision floating-point vector or array.
DCINDGEN(dim
1 [, dim
2 , ... , dim
n])
Returns a double-precision floating-point complex array.
DCOMPLEXARR (dim
1 [, dim
2, ... , dim
n] )
Returns a double-precision floating-point complex vector or array.
Makes a diagonal array or extracts the diagonal of an array.
DINDGEN (dim
1, ..., dim
n)
Returns a double-precision floating-point array with the specified dimensions.
FINDGEN (dim
1, ..., dim
n)
Returns a single-precision floating-point array with the specified dimensions.
Returns a single-precision floating-point vector or array.
I32ARR (dim
1, ... , dim
n)
Returns a 32-bit integer vector or array.
I32INDGEN (dim
1, ... , dim
n)
Returns a 32-bit integer array with the specified dimensions.
INDGEN (dim
1, ... , dim
n)
Returns an integer array with the specified dimensions.
INTARR (dim
1, ... , dim
n)
Returns an integer vector or array.
LINDGEN (dim
1, ... , dim
n)
Returns a longword integer array with the specified dimensions.
LINSPACE (dims, start, incr)
Generates an array of evenly spaced numbers.
Creates a list array.
LISTARR(
number_elements,[value])
Returns a list.
Returns a longword integer vector or array.
MAKE_ARRAY ([dim
1, ..., dim
n] )
Returns an array of specified type, dimensions, and initialization. It provides the ability to create an array dynamically whose characteristics are not known until run time.
REPLICATE (value, dim
1, ..., dim
n)
Forms an array with the given dimensions, filled with the specified scalar value.
SINDGEN (dim
1, ... , dim
n)
Returns a string array with the specified dimensions.
STRARR (dim
1, ... , dim
n)
Returns a string array.