KPG1_FLIPx

Reverses the pixels in an n-dimensional array along a specified dimension

Description:

This routine reverses the order of the pixels in an n-dimensional array along a specified dimension. The pixel values are unchanged. The array may have any number of dimensions.

Invocation

CALL KPG1_FLIPx( NDIM, DIM, DATIN, IDIM, DATOUT, STATUS )

Arguments

NDIM = INTEGER (Given)
Number of array dimensions.
DIM( NDIM ) = INTEGER (Given)
Array of dimension sizes for each array dimension.
DATIN( ) = ? (Given)
The input NDIM-dimensional array.
IDIM = INTEGER (Given)
Number of the array dimension along which the pixel values are to be reversed (in the range 1 to NDIM).
DATOUT( ) = ? (Returned)
Output array, with the pixels reversed.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: