The FLTARR function creates a floating-point vector or array of the specified dimensions.
Result = FLTARR( D1[, ..., D8] [, /NOZERO] )
Returns a single-precision, floating-point vector or array.
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.
Normally, FLTARR sets every element of the result to zero. Set this keyword to inhibit zeroing of the array elements and cause FLTARR to execute faster.
Create F, a 3-element by 3-element floating-point array with each element set to 0.0 by entering:
F = FLTARR(3, 3)
Original |
Introduced |
BYTARR , COMPLEXARR , DBLARR , DCOMPLEXARR , INTARR , LON64ARR , LONARR , MAKE_ARRAY , STRARR , UINTARR , ULON64ARR , ULONARR