CXML
WHENIGT (3sciport)
Searches an integer vector for all elements which are
greater than an integer target value
SYNOPSIS
Call WHENIGT( n, x, incx, itarget, index, nn )
ARGUMENTS
n Integer.
The number of elements to be searched.
x Integer vector.
The integer input vector to be searched.
incx Integer.
The increment between elements of vector x. For contiguous
elements, incx = 1.
itarget Integer.
The target value searched for in array x.
index Integer vector.
An integer output vector containing the indices of all
elements in vector x which are greater than the target
value.
nn Integer.
The number of elements in vector x which are greater than
the target value.
DESCRIPTION
Subroutine WHENIGT returns all locations in integer array x that are
greater than integer itarget. The locations are returned in integer vector
index.
For equations and other information, see Volume 3: UNICOS Math and
Scientific Library Reference Manual SR-2081 7.0, Cray Research, Inc.
CXML Home Page Index of CXML Routines