lis_array_sum.3f - Man Page

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/

Info

3 Dec 2014 Man Page Lis Library Functions