procedure resize

See documentation for the function of the same name. The reason to supply this also as a procedure is that it can be used without creating a temporary copy of the argument in memory. X must be a named variable.

Syntax
resize X, naxis1, naxis2, naxis3

See also
function resize