Next: expm1, Previous: exp, Up: Internal Routines [Contents][Index]
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.