IDL

FLTARR

FLTARR

The FLTARR function creates a floating-point vector or array of the specified dimensions.

Examples


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

F = FLTARR(3, 3)

Syntax


Result = FLTARR( D1[, ..., D8] [, /NOZERO] )

Return Value


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

Arguments


Di

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.

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.

Version History


Original

Introduced

See Also


BYTARR, COMPLEXARR, DBLARR, DCOMPLEXARR, INTARR, LON64ARR, LONARR, MAKE_ARRAY, STRARR, UINTARR, ULON64ARR, ULONARR

Notes


This page has no user notes yet. Be the first one!


This information is not subject to the controls of the International Traffic in Arms Regulations (ITAR) or the Export Administration Regulations (EAR). However, it may be restricted from transfer to various embargoed countries under U.S. laws and regulations.
© 2014 Exelis Visual Information Solutions