ARY_SHIFTK

Apply pixel-index shifts to an array

Description:

The routine applies pixel-index shifts to an array. An integer shift is applied to each dimension so that its pixel-index bounds, and the indices of each pixel, change by the amount of shift applied to the corresponding dimension. The arrays pixels retain their values and none are lost.

Invocation

CALL ARY_SHIFTK( NSHIFT, SHIFT, IARY, STATUS )

Arguments

NSHIFT = INTEGER (Given)
Number of dimensions to which shifts are to be applied. This must not exceed the number of array dimensions. If fewer shifts are supplied than there are dimensions in the array, then the extra dimensions will not be shifted.
SHIFT( NSHIFT ) = INTEGER*8 (Given)
The pixel-index shifts to be applied to each dimension.
IARY = INTEGER (Given)
Array identifier.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: