lis_matrix_convert(3f)

NAME
lis_matrix_convert - convert the matrix format

SYNOPSIS
subroutine lis_matrix_convert(LIS_MATRIX Ain, LIS_MATRIX Aout, LIS_INTEGER ierr);

DESCRIPTION
Convert matrix Ain into Aout of the format specified by lis_matrix_set_type.

INPUT

Ain The source matrix

OUTPUT

Aout
    The destination matrix

NOTE
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

SEE ALSO
lis(3)

http://www.ssisc.org/lis/