lis_vector_get_range(3)

NAME
lis_vector_get_range - get the location of the partial vector in the global vector

SYNOPSIS
#include "lis.h" LIS_INT lis_vector_get_range(LIS_VECTOR v, LIS_INT *is, LIS_INT *ie);

DESCRIPTION
Get the location of the partial vector v in the global vector.

INPUT

v   The partial vector

OUTPUT

is  The location where the partial vector v starts in the global vector

ie  The location where the partial vector v ends in the global vector

EXIT STATUS
The following exit values are returned:

0   The process is normally terminated

unspecified
    An error occurred

NOTE
For the serial and multithreaded environments, a vector of size n results in is = 0 and ie = n.

SEE ALSO
lis(3)

http://www.ssisc.org/lis/