1lis_array_sum(3)             Lis Library Functions            lis_array_sum(3)
2
3
4

NAME

6       lis_array_sum - calculate the sum of the elements of the vector
7
8

SYNOPSIS

10       #include "lis.h"
11
12       LIS_INT lis_array_sum(LIS_INT n, LIS_SCALAR x[], LIS_SCALAR *value);
13
14

DESCRIPTION

16       Calculate the sum of the elements of vector x.
17
18
19       n      The size of the vector
20
21

INPUT

23       x      The array that stores the vector
24
25

OUTPUT

27       value  The sum of the vector elements
28
29

EXIT STATUS

31       The following exit values are returned:
32
33       0      The process is normally terminated
34
35       unspecified
36              An error occurred
37
38

SEE ALSO

40       lis(3)
41
42       http://www.ssisc.org/lis/
43
44
45
46
47Man Page                          3 Dec 2014                  lis_array_sum(3)
Impressum