next up previous contents
Next: Propagation of Bad Data
Up: INTRODUCTION
Previous: INTRODUCTION

The VAL, VEC and NUM Facilities

The routines in this package have names of the form $<$fac$>$_$<$name$>$, where $<$fac$>$ is a three character facility name and $<$name$>$ specifies the operation which the routine performs.

The routines are divided into three facilities as follows:

$<$fac$>$ Facility provides...
   
VAL Arithmetic, mathematical functions and type conversion on single (scalar) values. Handling of numerical errors and bad value propagation are incorporated.
   
VEC Arithmetic, mathematical functions and type conversion on vectorised arrays, allowing more efficient processing of large numbers of data. Handling of numerical errors and bad value propagation are incorporated.
   
NUM Lower level routines for arithmetic, mathematical functions, type conversion and inter-comparison of single numbers. Operations are performed without protection against numerical errors and without regard for bad values.

Note that a distinction is drawn between three classes of primitive data, which differ in their interpretation and in the algorithms best suited to processing them:

Italics are used throughout this document to refer to values, vectorised arrays and numbers when it is important to emphasise the particular meaning (and the implied processing rules) described here.


next up previous contents
Next: Propagation of Bad Data
Up: INTRODUCTION
Previous: INTRODUCTION

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