1lis_array_matmat_ns(3) Lis Library Functions lis_array_matmat_ns(3)
2
3
4
6 lis_array_matmat_ns - calculate the matrix-matrix product
7
8
10 #include "lis.h"
11
12 LIS_INT lis_array_matmat_ns(LIS_INT l, LIS_INT m, LIS_INT n, LIS_SCALAR
13 a[], LIS_INT lda, LIS_SCALAR b[], LIS_INT ldb, LIS_SCALAR c[], LIS_INT
14 ldc, LIS_INT op);
15
16
18 Calculate the matrix-matrix product AB, where matrices A and B are not
19 square.
20
21
23 l, m, n
24 The sizes of the matrices
25
26
27 a The array that stores matrix A of size l * m
28
29
30 lda The size of the leading dimension of array A
31
32
33 b The array that stores matrix B of size m * n
34
35
36 ldb The size of the leading dimension of array B
37
38
39 c The array that stores matrix C of size l * n
40
41
42 ldc The size of the leading dimension of array C
43
44
45 op
46
47 LIS_INS_VALUE
48 C = AB
49
50 LIS_SUB_VALUE
51 C = C - AB
52
53
55 C C
56
57
59 The following exit values are returned:
60
61 0 The process is normally terminated
62
63 unspecified
64 An error occurred
65
66
68 lis(3)
69
70 http://www.ssisc.org/lis/
71
72
73
74
75Man Page 10 Oct 2015 lis_array_matmat_ns(3)