pub struct SPMatrix {
pub row: usize,
pub col: usize,
pub nnz: usize,
pub col_ptr: Vec<usize>,
pub row_ics: Vec<usize>,
pub data: Vec<f64>,
}
Fields
row: usize
col: usize
nnz: usize
col_ptr: Vec<usize>
row_ics: Vec<usize>
data: Vec<f64>
Implementations
Trait Implementations
Linear algebra for sparse matrix
Caution : In every ops in this trait, there is converting process to dense matrix
Reference version of matrix multiplication with vector
Matrix multiplication with Redox
Auto Trait Implementations
impl RefUnwindSafe for SPMatrix
impl UnwindSafe for SPMatrix
Blanket Implementations
Mutably borrows from an owned value. Read more