Trait SparseVector
mrslac::vector
pub trait SparseVector { fn nnz(&self) -> usize; }
fn nnz(&self) -> usize
the number of non-zero elements in the vector
impl SparseVector for SparseCS
returns the number of non-null vector elements