Thanks to visit codestin.com
Credit goes to docs.rs

sparse_get_nnz

Function sparse_get_nnz 

Source
pub fn sparse_get_nnz<T: HasAfEnum>(input: &Array<T>) -> i64
Expand description

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