[][src]Trait mrslac::matrix::SparseMatrix

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

Required methods

fn nnz(&self) -> usize

returns the number of non-null matrix elements

Loading content...

Implementors

impl SparseMatrix for SparseCRS[src]

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

returns the number of non-null matrix elements

impl SparseMatrix for SparseDOK[src]

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

returns the number of non-null matrix elements

Loading content...