KPG1_MONOx

Determines whether an array s values increase or decrease monotonically

Description:

This routine determines whether or not a vector of values increase or decrease monotonically. This is most useful for axes.

Invocation

CALL KPG1_MONOx( BAD, EL, ARRAY, MONOTO, STATUS )

Arguments

BAD = LOGICAL (Given)
If BAD=.TRUE., there may be bad values present in the array, and it instructs this routine to test for the presence of bad values.
EL = INTEGER (Given)
The number of elements in the array.
ARRAY( EL ) = ? (Given)
The array to be tested.
MONOTO = LOGICAL (Returned)
If MONOTO is .TRUE., the array values are monotonic.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: