1lis_matrix_xpay(3) Lis Library Functions lis_matrix_xpay(3)
2
3
4
6 lis_matrix_xpay - calculate the sum of the matrices
7
8
10 #include "lis.h"
11
12 LIS_INT lis_matrix_xpay(LIS_SCALAR alpha, LIS_MATRIX A, LIS_MATRIX B);
13
14
16 Calculate the sum of the matrices B = A + alpha * B.
17
18
20 alpha The scalar value
21
22
23 A, B The matrices
24
25
27 B A + alpha * B (matrix B 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 Matrices A, B must be in the DNS format.
41
42
44 lis(3)
45
46 http://www.ssisc.org/lis/
47
48
49
50
51Man Page 30 Dec 2014 lis_matrix_xpay(3)