CXML
INFLMAX (3sciport)
Searches for the maximum vector element subfield
SYNOPSIS
index = INFLMAX( n, x, incx, mask, shift )
FUNCTION VALUE
inflmax Integer.
The index in x of the first occurrence of maximum subfield
value.
ARGUMENTS
n Integer.
The number of elements of x to be searched.
x Integer vector.
The input vector.
incx Integer.
The increment between elements of vector x.
mask Integer.
A right justified bit mask used to extract the subfield
from x.
shift Integer.
The number of bits to right shift each element before
extracting the subfield.
DESCRIPTION
Integer function INFLMAX searches input vector x for the maximum value of a
selected subfield of each element. The index of the first occurrence of the
maximum found in x is returned.
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