DAT_VEC

Vectorise object

Description:

Address an array as if it were a vector.

Invocation

CALL DAT_VEC( LOC1, LOC2, STATUS )

Arguments

LOC1 = CHARACTER  ( DAT__SZLOC ) (Given)
Array locator.
LOC2 = CHARACTER  ( DAT__SZLOC ) (Returned)
Vector locator.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:

In general, it is not possible to vectorise an array slice such as created by DAT_SLICE. If LOC1 is a locator for a slice, an error will be reported if the elements of the slice are dis-contiguous. If the elements of the slice are contiguous, then no error will be reported.