1lis_matrix_convert(3)        Lis Library Functions       lis_matrix_convert(3)
2
3
4

NAME

6       lis_matrix_convert - convert the matrix format
7
8

SYNOPSIS

10       #include "lis.h"
11
12       LIS_INT lis_matrix_convert(LIS_MATRIX Ain, LIS_MATRIX Aout);
13
14

DESCRIPTION

16       Convert   matrix   Ain   into   Aout   of   the   format  specified  by
17       lis_matrix_set_type.
18
19

INPUT

21       Ain    The source matrix
22
23

OUTPUT

25       Aout   The destination matrix
26
27

EXIT STATUS

29       The following exit values are returned:
30
31       0      The process is normally terminated
32
33       unspecified
34              An error occurred
35
36

NOTE

38       The storage format of the Aout  is  set  by  lis_matrix_set_type.   The
39       block   size   of   the   BSR,   BSC,   and   VBR  formats  is  set  by
40       lis_matrix_set_blocksize.  The conversions indicated by 1 in the  table
41       below  are performed directly, and the other ones are performed via the
42       indicated formats. The conversions with no indication are performed via
43       the CSR format.
44
45
46       ┌────────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┐
47       │Src/Dst │  CSR │  CSC │  MSR │  DIA │  ELL │  JAD │  BSR │  BSC │  VBR │  COO │  DNS │
48       ├────────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┤
49       │CSR     │      │  1   │  1   │  1   │  1   │  1   │  1   │  CSC │  1   │  1   │  1   │
50       ├────────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┤
51       │COO     │  1   │  1   │  1   │  CSR │  CSR │  CSR │  CSR │  CSC │  CSR │      │  CSR │
52       └────────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┘
53

SEE ALSO

55       lis(3)
56
57       http://www.ssisc.org/lis/
58
59
60
61
62Man Page                          6 Sep 2012             lis_matrix_convert(3)
Impressum