1lis_matrix_axpyz(3) Lis Library Functions lis_matrix_axpyz(3)
2
3
4
6 lis_matrix_axpyz - calculate the sum of the matrices
7
8
10 #include "lis.h"
11
12 LIS_INT lis_matrix_axpyz(LIS_SCALAR alpha, LIS_MATRIX A, LIS_MATRIX B,
13 LIS_MATRIX C);
14
15
17 Calculate the sum of the matrices C = alpha * A + B.
18
19
21 alpha The scalar value
22
23
24 A, B The matrices
25
26
28 C alpha * A + B
29
30
32 The following exit values are returned:
33
34 0 The process is normally terminated
35
36 unspecified
37 An error occurred
38
39
41 Matrices A, B and C must be in the DNS format.
42
43
45 lis(3)
46
47 http://www.ssisc.org/lis/
48
49
50
51
52Man Page 30 Dec 2014 lis_matrix_axpyz(3)