Returns the number of non zero elements in the sparse array. More...
Functions | |
AFAPI dim_t | sparseGetNNZ (const array in) |
AFAPI af_err | af_sparse_get_nnz (dim_t *out, const af_array in) |
Returns the number of non zero elements in the sparse array.
This is always equal to the size of the values array.
[out] | out | the number of non-zero elements of the sparse array |
[in] | in | is the input sparse matrix |