Next: , Previous: , Up: Internal Routines   [Contents][Index]


15.5.187 expand

expand(array, xscale [, yscale, smooth])

Returns an expanded version of 1d or 2D array. xscale is the magnification in the 1st dimension (may be non-integer; may be < 1). yscale is the magnification in 2nd dimension (defaults to xscale). smooth is the smoothing type: 0: bilinear interpolation; else: nearest neighbor (defaults to !tvsmt). If the scale factors are 1 for both dimensions, then array is returned immediately.

See also: compress, regrid, regrid3, !tvsmt