CXML

ISRCHILE (3sciport)


SYNOPSIS

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

FUNCTION VALUE

  isrchile        Integer.
                  The location in vector x of the first element less than or
                  equal to target.

ARGUMENTS

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

  x               Integer vector.
                  An integer input array to be searched.

  incx            Integer.
                  The increment between elements of the array to be searched.
                  For contiguous elements, incx = 1.

  target          Integer.
                  The value to be searched for in array x.

DESCRIPTION

  The function ISRCHILE returns the first location in integer vector x that
  is less than or equal to an integer target. If all elements of vector x are
  greater than target, then 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