Trait sprs::SparseMat[][src]

pub trait SparseMat {
    fn rows(&self) -> usize;
fn cols(&self) -> usize;
fn nnz(&self) -> usize; }

A trait for common members of sparse matrices

Required Methods

The number of rows of this matrix

The number of columns of this matrix

The number of nonzeros of this matrix

Implementors