lis_array_sum man page

lis_array_sum — calculate the sum of the elements of the vector

Synopsis

#include "lis.h"

LIS_INT lis_array_sum(LIS_INT n, LIS_SCALAR x[], LIS_SCALAR *value);

Description

Calculate the sum of the elements of vector x.

n
The size of the vector

Input

x
The array that stores the vector

Output

value
The sum of the vector elements

Exit Status

The following exit values are returned:

0
The process is normally terminated
unspecified
An error occurred

See Also

lis(3)

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

Info

3 Dec 2014 Man Page Lis Library Functions