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