1lis_matrix_set_msr(3) Lis Library Functions lis_matrix_set_msr(3)
2
3
4
6 lis_matrix_set_msr - associate the arrays in the MSR format with the
7 matrix
8
9
11 #include "lis.h"
12
13 LIS_INT lis_matrix_set_msr(LIS_INT nnz, LIS_INT ndz[], LIS_INT index[],
14 LIS_SCALAR value[], LIS_MATRIX A);
15
16
18 Associate the arrays in the MSR format with matrix A.
19
20
22 nnz The number of nonzero elements
23
24
25 ndz The number of nonzero elements in the diagonal
26
27
28 ptr, index, value
29 The arrays in the MSR format
30
31
32 A The matrix
33
34
36 A The matrix associated with the arrays
37
38
40 The following exit values are returned:
41
42 0 The process is normally terminated
43
44 unspecified
45 An error occurred
46
47
49 After lis_matrix_set_msr is called, the function lis_matrix_assemble
50 must be called.
51
52
54 lis(3)
55
56 http://www.ssisc.org/lis/
57
58
59
60
61Man Page 6 Sep 2012 lis_matrix_set_msr(3)