KPG1_AXLVx

Finds the first axis centre co-ordinate of an NDF below a threshold

Description:

This routine determines the element number and value of the first axis centre co-ordinate of an NDF below a given threshold. Currently, it assumes that the centre values increase or decrease monotonically from the first to the last elements.

A SAI__ERROR status is returned when no centre value is less than the threshold.

Invocation

CALL KPG1_AXLVx( EL, CENTRE, THRESH, ITH, VALTH, STATUS )

Arguments

EL = INTEGER (Given)
The number of elements in the axis.
CENTRE( EL ) = ? (Given)
The NDF axis centre co-ordinates.
THRESH = ? (Given)
The threshold.
ITH = INTEGER (Returned)
The index number of the element that first has a value below the threshold, or its negative when the co-ordinates decrease with increasing element number.
VALTH = ? (Returned)
The centre co-ordinate that first fails to exceed the threshold.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: