lis_matrix_convert - convert the matrix format
subroutine lis_matrix_convert(LIS_MATRIX Ain, LIS_MATRIX
Aout, LIS_INTEGER ierr);
Convert matrix Ain into Aout of the format specified by
lis_matrix_set_type.
- Aout
- The destination matrix
The storage format of the Aout is set by lis_matrix_set_type. The
block size of the BSR, BSC, and VBR formats is set by
lis_matrix_set_blocksize. The conversions indicated by 1 in the table
below are performed directly, and the other ones are performed via the
indicated formats. The conversions with no indication are performed via the
CSR format.
Src/Dst |
CSR |
CSC |
MSR |
DIA |
ELL |
JAD |
BSR |
BSC |
VBR |
COO |
DNS |
CSR |
|
1 |
1 |
1 |
1 |
1 |
1 |
CSC |
1 |
1 |
1 |
COO |
1 |
1 |
1 |
CSR |
CSR |
CSR |
CSR |
CSC |
CSR |
|
CSR |
lis(3)
http://www.ssisc.org/lis/