pub struct MatrixPowerResult {
pub row_offsets: Vec<usize>,
pub col_indices: Vec<usize>,
pub values: Vec<f64>,
pub rows: usize,
pub cols: usize,
pub nnz: usize,
pub multiplications_performed: usize,
pub nnz_growth: Vec<usize>,
}Expand description
Result of a sparse matrix power computation.
Fields§
§row_offsets: Vec<usize>CSR row offsets of the result matrix (length = rows + 1).
col_indices: Vec<usize>CSR column indices of the result matrix.
values: Vec<f64>CSR values of the result matrix.
rows: usizeNumber of rows.
cols: usizeNumber of columns.
nnz: usizeNumber of non-zeros in the result.
multiplications_performed: usizeNumber of SpGEMM multiplications actually performed.
nnz_growth: Vec<usize>nnz observed after each multiplication step.
Trait Implementations§
Source§impl Clone for MatrixPowerResult
impl Clone for MatrixPowerResult
Source§fn clone(&self) -> MatrixPowerResult
fn clone(&self) -> MatrixPowerResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MatrixPowerResult
impl RefUnwindSafe for MatrixPowerResult
impl Send for MatrixPowerResult
impl Sync for MatrixPowerResult
impl Unpin for MatrixPowerResult
impl UnsafeUnpin for MatrixPowerResult
impl UnwindSafe for MatrixPowerResult
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