lis_matrix_get_nnz(3)

NAME
lis_matrix_get_nnz - 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
lis(3)

http://www.ssisc.org/lis/