arySbnd

Set new pixel-index bounds for an array

Description:

This function sets new pixel-index bounds for an array (or array section). The number of array dimensions may also be changed. If a base array is specified, then a permanent change is made to the actual data object and this will be apparent through any other array identifiers which refer to it. However, if an identifier for an array section is specified, then its bounds are altered without affecting other arrays.

Invocation

void arySbnd( int ndim, const hdsdim ∗lbnd, const hdsdim ∗ubnd, Ary ∗ary, int ∗status )

Notes:

Parameters :

ndim
New number of array dimensions.
lbnd
Array holding the new lower pixel-index bounds of the array.
ubnd
Array holding the new upper pixel-index bounds of the array.
ary
Array identifier.
status
The global status.