Function arrayfire::sparse_get_nnz [−][src]
pub fn sparse_get_nnz<T: HasAfEnum>(input: &Array<T>) -> i64
Get number of non-zero elements in sparse array
Parameters
input
is the sparse array
Return Values
Number of non-zero elements of sparse Array