Next: Computational routines
Up: psb_cd_get_context Get communication context
Previous: psb_sp_get_ncols Get
Contents
nr = psb_sp_get_nnzeros(a)
- Type:
- Asynchronous.
- On Entry
-
- a
- the sparse matrix
Scope: local
Type: required
Intent: in.
Specified as: a structured data of type spdatapsb_spmat_type.
- 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.