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