1lis_vector_axpy(3) Lis Library Functions lis_vector_axpy(3)
2
3
4
6 lis_vector_axpy - calculate the sum of the vectors
7
8
10 #include "lis.h"
11
12 LIS_INT lis_vector_axpy(LIS_SCALAR alpha, LIS_VECTOR x, LIS_VECTOR y);
13
14
16 Calculate the sum of the vectors y = alpha * x + y.
17
18
20 alpha The scalar value
21
22
23 x, y The vectors
24
25
27 y alpha * x + y (vector y is overwritten)
28
29
31 The following exit values are returned:
32
33 0 The process is normally terminated
34
35 unspecified
36 An error occurred
37
38
40 lis(3)
41
42 http://www.ssisc.org/lis/
43
44
45
46
47Man Page 6 Sep 2012 lis_vector_axpy(3)