CXML

ISRCHNE (3sciport)


SYNOPSIS

  location = ISRCHNE( n, x, incx, target )

FUNCTION VALUE

  isrchne         Integer.
                  The location of the first term in vector x not matching
                  target.

ARGUMENTS

  n               Integer.
                  The number of elements to be searched.  If n <= 0, then 0
                  is returned.

  x               Integer, Logical, or Real vector.
                  An input vector of length n.

  incx            Integer.
                  The increment between elements of the search vector. For
                  contiguous elements, incx = 1.

  target          Integer, Logical, or Real.
                  The value to be searched for in vector x.

DESCRIPTION

  The function ISRCHNE returns the first location in array x that does not
  match the target value. If target is always found, the returned value is
  n+1.

  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