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

NAME

6       lis_array_xpay - calculate the sum of the vectors
7
8

SYNOPSIS

10       #include "lis.h"
11
12       LIS_INT  lis_array_xpay(LIS_INT  n,  LIS_SCALAR  x[], LIS_SCALAR alpha,
13       LIS_SCALAR y[]);
14
15

DESCRIPTION

17       Calculate the sum of the vectors y = x + alpha * y.
18
19

INPUT

21       n      The size of the vectors
22
23
24       alpha  The scalar value
25
26
27       x, y   The arrays that store the vectors
28
29

OUTPUT

31       y      x + alpha * y (vector y is overwritten)
32
33

EXIT STATUS

35       The following exit values are returned:
36
37       0      The process is normally terminated
38
39       unspecified
40              An error occurred
41
42

SEE ALSO

44       lis(3)
45
46       http://www.ssisc.org/lis/
47
48
49
50
51Man Page                          3 Dec 2014                 lis_array_xpay(3)
Impressum