Description:
Return a
locator to a “slice” of a vector or an array.
Invocation
CALL DAT_SLICE( LOC1, NDIM, DIML, DIMU, LOC2, STATUS )
Arguments
LOC1 = CHARACTER
(
DAT__SZLOC ) (Given)
Array locator.
NDIM = INTEGER (Given)
Number of
dimensions.
DIML = INTEGER( NDIM ) (Given)
Lower dimension bounds.
DIMU
= INTEGER( NDIM ) (Given)
Upper dimension bounds.
LOC2 = CHARACTER
(
DAT__SZLOC ) (Returned)
Slice locator.
STATUS = INTEGER (Given and Returned)
The
global status.
Notes:
If any of the upper bounds are zero or negative, the size of the
corresponding dimension in the object is used. Currently, only 1, 2 or 3-D objects can be sliced.
Copyright © 2019 East Asian Observatory