lis_array_sum(3f)

NAME
lis_array_sum - calculate the sum of the elements of the vector

SYNOPSIS
subroutine lis_array_sum(LIS_INTEGER n, LIS_SCALAR x(), LIS_SCALAR *value, LIS_INTEGER ierr);

DESCRIPTION
Calculate the sum of the elements of vector x.

INPUT

n   The size of the vector

x   The array that stores the vector

OUTPUT

value
    The sum of the vector elements

SEE ALSO
lis(3)

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