- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑
Description:
This routine returns the number of points in the input array that have a value or
absolute value greater than or less than the input value.
Invocation
CALL KPG1_NUMBx( BAD,
VABS, ABOVE, EL, INARR, VALUE, NUMBER, STATUS )
Arguments
BAD = LOGICAL
(Given)
If true testing for bad pixels will be made. This should not be set to false unless
there definitely no bad values within the input array.
VABS = LOGICAL (Given)
If true
the comparison is performed with the absolute value of each array element.
ABOVE =
LOGICAL (Given)
If true the criterion tests for array values greater than the limit; if false the
criterion tests for array values less than the limit.
EL = INTEGER (Given)
The dimension of
the input array.
INARR( EL ) = ? (Given)
The input data array
VALUE = ? (Given)
Value to test each array value against.
NUMBER = INTEGER (Returned)
The number of
elements of the input array greater than the specified value when VABS = FALSE, or the
number of elements of the input array whose absolute values are greater than the specified
value when VABS = TRUE.
STATUS = INTEGER (Given)
Global status value.
Notes:
-
There is a routine for each numeric data type: replace "
x"
in the routine name by D, R, I, W, UW, B or
UB as appropriate. The array and comparison value supplied to the routine must have the data type
specified.
- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑