FLTARR Function
Returns a single-precision floating-point vector or array.
enabled.
Usage
Input Parameters
dimi—The dimensions of the result. May be any scalar expression. Up to eight dimensions may be specified.
Returned Value
result—A single-precision floating-point vector or array.
Keywords
Nozero—If Nozero is nonzero, this zeroing is not performed, thereby causing FLTARR to execute faster.
Discussion
Normally, FLTARR sets every element of result to zero.
Example
PRINT, FLTARR(4) ; PV-WAVE prints: 0.00000 0.00000 0.00000 0.00000 PRINT, FLTARR(4, /Nozero) ; PV-WAVE prints four floating point values, e.g: ; 5.60519e-45 1.98225e-39 2.35149e-38 5.60519e-45
See Also
BYTARR, COMPLEXARR, DBLARR, FINDGEN, I32ARR, INTARR, LONARR, MAKE_ARRAY, REPLICATE, STRARR