next up previous 223
Next: DAT_WHERE - Find position of primitive in HDS file
Up: ROUTINE DESCRIPTIONS
Previous: DAT_VALID - Enquire locator valid


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 but the returned vectorised object will contain the whole array from which the slice was taken, not just the slice itself.


next up previous 223
Next: DAT_WHERE - Find position of primitive in HDS file
Up: ROUTINE DESCRIPTIONS
Previous: DAT_VALID - Enquire locator valid

HDS [1ex
Starlink User Note 92
R.F. Warren-Smith & M.D. Lawden
23rd February 1999
E-mail:ussc@star.rl.ac.uk

Copyright © 2000 Council for the Central Laboratory of the Research Councils