pub struct CooMatrix {
pub nrows: usize,
pub ncols: usize,
pub rows: Vec<usize>,
pub cols: Vec<usize>,
pub values: Vec<f64>,
}Expand description
A matrix being assembled from (row, column, value) triplets; duplicates are summed when
converting (SciPy’s coo_array).
Fields§
§nrows: usize§ncols: usize§rows: Vec<usize>§cols: Vec<usize>§values: Vec<f64>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CooMatrix
impl RefUnwindSafe for CooMatrix
impl Send for CooMatrix
impl Sync for CooMatrix
impl Unpin for CooMatrix
impl UnsafeUnpin for CooMatrix
impl UnwindSafe for CooMatrix
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