pub trait SparseAccess<T>: Matrix<T> {
// Required methods
fn nnz(&self) -> usize;
fn fetch_triplets(&self) -> Vec<(usize, usize, T)>;
}
Expand description
Access to a sparse matrix.
Required Methods§
Sourcefn fetch_triplets(&self) -> Vec<(usize, usize, T)>
fn fetch_triplets(&self) -> Vec<(usize, usize, T)>
Retrieve the triplets that identify the coefficients of the sparse matrix.