pub struct SparseMatrix {
pub start: Vec<u32>,
pub index: Vec<u32>,
pub value: Vec<f64>,
}Expand description
Sparse column-wise matrix (CSC format).
Fields§
§start: Vec<u32>§index: Vec<u32>§value: Vec<f64>Trait Implementations§
Source§impl Debug for SparseMatrix
impl Debug for SparseMatrix
Source§impl Default for SparseMatrix
impl Default for SparseMatrix
Source§fn default() -> SparseMatrix
fn default() -> SparseMatrix
Returns the “default value” for a type. Read more
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