Function arrayfire::sparse_get_nnz [] [src]

pub fn sparse_get_nnz(input: &Array) -> 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