1lis_array_matmat(3) Lis Library Functions lis_array_matmat(3)
2
3
4
6 lis_array_matmat - calculate the matrix-matrix product
7
8
10 #include "lis.h"
11
12 LIS_INT lis_array_matmat(LIS_INT n, LIS_SCALAR a[], LIS_SCALAR b[],
13 LIS_SCALAR c[], LIS_INT op);
14
15
17 Calculate the matrix-matrix product AB.
18
19
21 n The size of the matrices
22
23
24 a The array that stores matrix A of size n * n
25
26
27 b The array that stores matrix B of size n * n
28
29
30 c The array that stores matrix C of size n * n
31
32
33 op
34
35 LIS_INS_VALUE
36 C = AB
37
38 LIS_SUB_VALUE
39 C = C - AB
40
41
43 C C
44
45
47 The following exit values are returned:
48
49 0 The process is normally terminated
50
51 unspecified
52 An error occurred
53
54
56 lis(3)
57
58 http://www.ssisc.org/lis/
59
60
61
62
63Man Page 3 Dec 2014 lis_array_matmat(3)