CXML
WHENFLE (3sciport)
Searches a real vector for all elements which are
less than or equal to a real target value
SYNOPSIS
Call WHENFLE( n, x, incx, target, index, nn )
ARGUMENTS
n Integer.
The number of elements to be searched.
x Real vector.
The real input vector to be searched.
incx Integer.
The increment between elements of vector x. For contiguous
elements, incx = 1.
target Real.
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 less than or equal to the
target value.
nn Integer.
The number of elements in vector x which are less than or
equal to the target value.
DESCRIPTION
Subroutine WHENFLE returns all locations in real array x that are less than
or equal to target. 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