1lis_matrix_convert(3f) Lis Library Functions lis_matrix_convert(3f)
2
3
4
6 lis_matrix_convert - convert the matrix format
7
8
10 subroutine lis_matrix_convert(LIS_MATRIX Ain, LIS_MATRIX Aout,
11 LIS_INTEGER ierr);
12
13
15 Convert matrix Ain into Aout of the format specified by
16 lis_matrix_set_type.
17
18
20 Ain The source matrix
21
22
24 Aout The destination matrix
25
26
28 The storage format of the Aout is set by lis_matrix_set_type. The
29 block size of the BSR, BSC, and VBR formats is set by
30 lis_matrix_set_blocksize. The conversions indicated by 1 in the table
31 below are performed directly, and the other ones are performed via the
32 indicated formats. The conversions with no indication are performed via
33 the CSR format.
34
35
36 ┌────────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┐
37 │Src/Dst │ CSR │ CSC │ MSR │ DIA │ ELL │ JAD │ BSR │ BSC │ VBR │ COO │ DNS │
38 ├────────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┤
39 │CSR │ │ 1 │ 1 │ 1 │ 1 │ 1 │ 1 │ CSC │ 1 │ 1 │ 1 │
40 ├────────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┤
41 │COO │ 1 │ 1 │ 1 │ CSR │ CSR │ CSR │ CSR │ CSC │ CSR │ │ CSR │
42 └────────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┘
43
45 lis(3)
46
47 http://www.ssisc.org/lis/
48
49
50
51
52Man Page 6 Sep 2012 lis_matrix_convert(3f)