1lis_matrix_set_type(3f) Lis Library Functions lis_matrix_set_type(3f)
2
3
4
6 lis_matrix_set_type - assign the storage format
7
8
10 subroutine lis_matrix_set_type(LIS_MATRIX A, LIS_INTEGER matrix_type,
11 LIS_INTEGER ierr);
12
13
15 Assign the storage format.
16
17
19 A The matrix
20
21
22 matrix_type
23 The storage format
24
25
28 matrix_type of A is LIS_MATRIX_CSR when the matrix is created. The ta‐
29 ble below shows the available storage formats for matrix_type.
30
31
32 Storage format matrix_type
33 Compressed Sparse Row (CSR) {LIS_MATRIX_CSR|1}
34 Compressed Sparse Row (CSR) {LIS_MATRIX_CSR|1}
35 Compressed Sparse Column (CSC) {LIS_MATRIX_CSC|2}
36 Modified Compressed Sparse Row (MSR) {LIS_MATRIX_MSR|3}
37 Diagonal (DIA) {LIS_MATRIX_DIA|4}
38 Ellpack-Itpack Generalized Diagonal (ELL) {LIS_MATRIX_ELL|5}
39 Jagged Diagonal (JAD) {LIS_MATRIX_JAD|6}
40 Block Sparse Row (BSR) {LIS_MATRIX_BSR|7}
41 Block Sparse Column (BSC) {LIS_MATRIX_BSC|8}
42 Variable Block Row (VBR) {LIS_MATRIX_VBR|9}
43 Coordinate (COO) {LIS_MATRIX_COO|10}
44 Dense (DNS) {LIS_MATRIX_DNS|11}
45
46
48 lis(3)
49
50 http://www.ssisc.org/lis/
51
52
53
54
55Man Page 6 Sep 2012 lis_matrix_set_type(3f)