CXML
INTMAX (3sciport)
Searches an integer vector for the maximum value
SYNOPSIS
index = INTMAX( n, x, incx )
FUNCTION VALUE
intmax Integer.
The index in x of the first occurrence of maximum 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.
DESCRIPTION
Integer function INTMAX searches input vector x for the maximum value. 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