CXML
ILLZ (3sciport)
Returns the number of leading non-negative elements in a vector
SYNOPSIS
kount = ILLZ( n, x, incx )
FUNCTION VALUE
illz Integer.
Number of non-negative values in a vector before the first
negative value. The vector can be of type integer, logical,
or real.
ARGUMENTS
n Integer.
The number of elements in the vector.
x Integer, Logical, or Real vector.
An input vector of length x.
incx Integer.
The increment between elements of vector x. For contiguous
elements, incx = 1.
DESCRIPTION
The function ILLZ returns the number of non-negative values before the
first negative value in an array. It returns zero if the number of
elements, n, is less than one.
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