**ISRCHNE**
The **ISRCHNE** function searches vector given a target.
USAGE: index=ISRCHNE(n, x, incx, target)
INPUT ARGUMENT LIST:
n - Number of elements to be searched
x - Real or integer array of dimension (n-1) * |incx| + 1.
Array x contains the vector to be searched.
incx - Increment between elements of the searched array.
target - Value for which to search in the array.
OUTPUT VALUE
index - Index of the first element equal or not equal to target. If
target is not found, n+1 is returned. If n <= 0, 0 is
returned.
REMARKS:
This code and documentation was taken directly from the
man page for routine ISRCHNE on a CRAY UNICOS system.
W3lib.tar |
Library contains Fortran 90 decoder/encoder
routines for GRIB edition 1. (Fortran90)
Date posted: 2/22/2007 |