CXML

ISRCHEQ (3sciport)


SYNOPSIS

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

FUNCTION VALUE

  isrcheq         Integer.
                  The location of the first term in vector x 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 ISRCHEQ returns the first location in array x that matches the
  target value. If target is not 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