1lis_matrix_malloc(3) Lis Library Functions lis_matrix_malloc(3)
2
3
4
6 lis_matrix_malloc - allocate the memory for the matrix
7
8
10 #include "lis.h"
11
12 LIS_INT lis_matrix_malloc(MATRIX A, LIS_INT nnz_row, LIS_INT nnz[]);
13
14
16 allocate the memory for matrix A.
17
18
20 A The matrix
21
22
23 nnz_row
24 The average number of nonzero elements
25
26
27 nnz The array of the numbers of the nonzero elements in each row
28
29
31 None
32
33
35 The following exit values are returned:
36
37 0 The process is normally terminated
38
39 unspecified
40 An error occurred
41
42
44 Either nnz_row or nnz must be provided.
45
46
48 lis(3)
49
50 http://www.ssisc.org/lis/
51
52
53
54
55Man Page 6 Sep 2012 lis_matrix_malloc(3)