Number of stored entries, including any explicitly stored zeros.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(csr_t), | intent(in) | :: | self |
pure function csr_nnz(self) result(n) !! Number of stored entries, including any explicitly stored zeros. class(csr_t), intent(in) :: self integer(default_int) :: n n = 0 if (allocated(self%col_idx)) n = int(size(self%col_idx), default_int) end function csr_nnz