pub mod dense_row_major;
pub mod sparse_crs;
pub mod sparse_dok;
pub trait BasicReadableMatrix {
fn get_rows(&self) -> usize;
fn get_columns(&self) -> usize;
fn get_element(&self, i: usize, j: usize)-> f32;
}
pub trait BasicWriteableMatrix {
fn set_element(&mut self, i: usize, j: usize, value: f32);
fn set_zero(&mut self);
}
pub trait SparseMatrix {
fn nnz(&self) -> usize;
}