pub struct Supernode {
pub start: usize,
pub end: usize,
pub columns: Vec<usize>,
pub dense_block: Vec<f64>,
}Expand description
A supernode: a contiguous set of columns with identical sparsity below the diagonal.
Fields§
§start: usizeFirst column index.
end: usizeOne past the last column index.
columns: Vec<usize>Row indices of this supernode (including the diagonal rows).
dense_block: Vec<f64>Dense block stored column-major: nrow x ncol where ncol = end - start.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Supernode
impl RefUnwindSafe for Supernode
impl Send for Supernode
impl Sync for Supernode
impl Unpin for Supernode
impl UnsafeUnpin for Supernode
impl UnwindSafe for Supernode
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