pub struct CscMatrix {
pub nrows: usize,
pub ncols: usize,
pub indptr: Vec<usize>,
pub indices: Vec<usize>,
pub data: Vec<f64>,
}Expand description
Compressed sparse columns: the transpose layout of CsrMatrix (SciPy’s csc_array).
Fields§
§nrows: usize§ncols: usize§indptr: Vec<usize>§indices: Vec<usize>§data: Vec<f64>Implementations§
Trait Implementations§
Source§impl LinearOperator for CscMatrix
impl LinearOperator for CscMatrix
impl StructuralPartialEq for CscMatrix
Auto Trait Implementations§
impl Freeze for CscMatrix
impl RefUnwindSafe for CscMatrix
impl Send for CscMatrix
impl Sync for CscMatrix
impl Unpin for CscMatrix
impl UnsafeUnpin for CscMatrix
impl UnwindSafe for CscMatrix
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