- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑
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:
-
There is a routine for each standard numeric type; replace "
x"
in the array name by D, R, I, W, UW, B
or UB as appropriate. The data type of the arrays supplied must match the particular routine used.
- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑