1lis_matrix_get_nnz(3) Lis Library Functions lis_matrix_get_nnz(3)
2
3
4
6 lis_matrix_get_nnz - get the number of nonzero elements of the matrix
7
8
10 #include "lis.h"
11
12 LIS_INT lis_matrix_get_nnz(LIS_MATRIX A, LIS_INT *nnz);
13
14
16 Get the number of nonzero elements of matrix A.
17
18
20 A The matrix
21
22
24 nnz The number of nonzero elements
25
26
28 The following exit values are returned:
29
30 0 The process is normally terminated
31
32 unspecified
33 An error occurred
34
35
37 For the multiprocessing environment, this function gets the number of
38 nonzero elements of partial matrix A.
39
40
42 lis(3)
43
44 http://www.ssisc.org/lis/
45
46
47
48
49Man Page 28 Aug 2014 lis_matrix_get_nnz(3)