lis_matrix_get_nnz - Man Page
get the number of nonzero elements of the matrix
Synopsis
#include "lis.h"
LIS_INT lis_matrix_get_nnz(LIS_MATRIX A, LIS_INT *nnz);
Description
Get the number of nonzero elements of matrix A.
Input
- A
The matrix
Output
- nnz
The number of nonzero elements
Exit Status
The following exit values are returned:
- 0
The process is normally terminated
- unspecified
An error occurred
Note
For the multiprocessing environment, this function gets the number of nonzero elements of partial matrix A.
See Also
Info
28 Aug 2014 Man Page Lis Library Functions