lis_vector_sum - Man Page

calculate the sum of the elements of the vector

Synopsis

#include "lis.h"

LIS_INT lis_vector_sum(LIS_VECTOR x, LIS_SCALAR *value);

Description

Calculate the sum of the elements of vector x.

Input

x

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

9 Sep 2014 Man Page Lis Library Functions