pub struct SparseMatrix {
pub rows: usize,
pub cols: usize,
pub entries: Vec<(usize, usize, f64)>,
}Fields§
§rows: usize§cols: usize§entries: Vec<(usize, usize, f64)>Implementations§
Trait Implementations§
Source§impl Clone for SparseMatrix
impl Clone for SparseMatrix
Source§impl Debug for SparseMatrix
impl Debug for SparseMatrix
Source§impl PartialEq for SparseMatrix
impl PartialEq for SparseMatrix
impl StructuralPartialEq for SparseMatrix
Auto Trait Implementations§
impl Freeze for SparseMatrix
impl RefUnwindSafe for SparseMatrix
impl Send for SparseMatrix
impl Sync for SparseMatrix
impl Unpin for SparseMatrix
impl UnsafeUnpin for SparseMatrix
impl UnwindSafe for SparseMatrix
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more