pub struct CscMatrix<S> {
pub nrows: usize,
pub ncols: usize,
pub col_ptrs: Vec<usize>,
pub row_indices: Vec<usize>,
pub values: Vec<S>,
}Expand description
Compressed Sparse Column matrix.
Fields§
§nrows: usize§ncols: usize§col_ptrs: Vec<usize>§row_indices: Vec<usize>§values: Vec<S>Implementations§
Auto Trait Implementations§
impl<S> Freeze for CscMatrix<S>
impl<S> RefUnwindSafe for CscMatrix<S>where
S: RefUnwindSafe,
impl<S> Send for CscMatrix<S>where
S: Send,
impl<S> Sync for CscMatrix<S>where
S: Sync,
impl<S> Unpin for CscMatrix<S>where
S: Unpin,
impl<S> UnsafeUnpin for CscMatrix<S>
impl<S> UnwindSafe for CscMatrix<S>where
S: UnwindSafe,
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