pub trait SparseMat {
// Required methods
fn rows(&self) -> usize;
fn cols(&self) -> usize;
fn nnz(&self) -> usize;
}
Expand description
A trait for common members of sparse matrices
pub trait SparseMat {
// Required methods
fn rows(&self) -> usize;
fn cols(&self) -> usize;
fn nnz(&self) -> usize;
}
A trait for common members of sparse matrices