Next: get_size Get
Up: Sparse Matrix class
Previous: get_ncols Get
Contents
nz = a%get_nnzeros()
- Type:
- Asynchronous.
- On Entry
-
- a
- the sparse matrix
Scope: local
- On Return
-
- Function value
- The number of nonzero elements stored in sparse matrix
a
.
Notes
- The function value is specific to the storage format of matrix
a
; some storage formats employ padding, thus the returned
value for the same matrix may be different for different storage choices.