lis_matrix_convert - Man Page

convert the matrix format

Synopsis

#include "lis.h"

LIS_INT lis_matrix_convert(LIS_MATRIX Ain, LIS_MATRIX Aout);

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

Exit Status

The following exit values are returned:

0

The process is normally terminated

unspecified

An error occurred

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/

Info

6 Sep 2012 Man Page Lis Library Functions