next up previous contents
Next: Applicability & Efficiency
Up: PRIMDAT Processing of Primitive Numerical Data
Previous: Declaring the VAL_ Functions

THE VEC_ ROUTINES

The VEC_ routines are a set of subroutines which perform arithmetic, mathematical operations and type conversion on vectorised arrays of data stored using any numerical type. They incorporate handling of numerical errors and propagation of the standard bad values in a way that is fully compatible with the VAL_ functions.

VEC_ routines are invoked by statements of the form:

  CALL VEC_$<$name$>$ ( BAD, N, ARG, RESULT, IERR, NERR, STATUS )
or CALL VEC_$<$name$>$ ( BAD, N, ARG1, ARG2, RESULT, IERR, NERR, STATUS )

where $<$name$>$ specifies the operation to be performed and:



Subsections

next up previous contents
Next: Applicability & Efficiency
Up: PRIMDAT Processing of Primitive Numerical Data
Previous: Declaring the VAL_ Functions

PRIMDAT --- Processing of Primitive Numerical Data
Starlink User Note 39
R F Warren-Smith
28 February 1995
E-mail:ussc@star.rl.ac.uk

Copyright © 2009 Science and Technology Facilities Council