FLTARR

The FLTARR function returns a single-precision, floating-point vector or array.

Calling Sequence

Result = FLTARR( D 1 , ..., D n )

Arguments

D i

The dimensions of the result. The dimension parameters can be any scalar expression. Up to eight dimensions can be specified.

Keywords

NOZERO

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.

Example

Create F, a 3-element by 3-element floating-point array with each element set to 0.0 by entering:

F = FLTARR(3, 3)

See Also

BYTARR , COMPLEXARR , DBLARR , DCOMPLEXARR , INTARR , LONARR , MAKE_ARRAY , STRARR