- ←Prev
- ARY
A Subroutine Library for Accessing
ARRAY Data Structures - Next→
- TOC ↑
Description:
The routine returns
the pixel offset for each requested dimension between two arrays. These values are the
offsets which should be added to the pixel indices of the first array to obtain the indices
of the corresponding pixel in the second array.
Invocation
CALL ARY_OFFSK( IARY1,
IARY2, MXOFFS, OFFS, STATUS )
Arguments
IARY1 = INTEGER (Given)
First array
identifier.
IARY2 = INTEGER (Given)
Second array identifier.
MXOFFS = INTEGER
(Given)
Maximum number of pixel offsets to return (i.e. the declared size of the OFFS
argument).
OFFS( MXOFFS ) = INTEGER*8 (Returned)
Array of pixel offsets for each
dimension.
STATUS = INTEGER (Given and Returned)
The global status.
Notes:
-
The two array identifiers supplied need not refer to the same base array (although they may often do
so). If they do not, then the offset between the pixels in each array is determined by matching the pixel
indices of their respective base arrays.
-
Note that non-zero pixel offsets may exist even for dimensions which exceed the dimensionality of
either of the two arrays supplied. The symbolic constant ARY__MXDIM may be used to declare the
size of the OFFS argument so that it will be able to hold the maximum number of non-zero offsets that
this routine can return.
- ←Prev
- ARY
A Subroutine Library for Accessing
ARRAY Data Structures - Next→
- TOC ↑