linalg 1.8.2
A linear algebra library that provides a user-friendly interface to several BLAS and LAPACK routines.
Loading...
Searching...
No Matches
linalg::nonzero_count Interface Reference

Determines the number of nonzero entries in a sparse matrix. More...

Public Member Functions

 nonzero_count_csr
 
 nonzero_count_msr
 

Detailed Description

Determines the number of nonzero entries in a sparse matrix.

Syntax
integer(int32) pure function nonzero_count(class(csr_matrix) x)
integer(int32) pure function nonzero_count(class(msr_matrix) x)
Parameters
[in]xThe sparse matrix.
Returns
The number of non-zero elements in the sparse matrix.

Definition at line 5338 of file linalg.f90.


The documentation for this interface was generated from the following file: