[][src]Trait mrslac::vector::SparseVector

pub trait SparseVector {
    fn nnz(&self) -> usize;
}

Required methods

fn nnz(&self) -> usize

the number of non-zero elements in the vector

Loading content...

Implementors

impl SparseVector for SparseCS[src]

fn nnz(&self) -> usize[src]

returns the number of non-null vector elements

Loading content...