pub struct PreallocationGraph {
pub xadj: Vec<usize>,
pub adjncy: Vec<usize>,
pub order: Vec<PointId>,
pub row_nnz: Vec<usize>,
}Expand description
Matrix/preallocation graph derived from a DM adjacency graph and section map.
Fields§
§xadj: Vec<usize>CSR offsets into Self::adjncy.
adjncy: Vec<usize>CSR adjacency by point index.
order: Vec<PointId>Point ordering represented by CSR rows.
row_nnz: Vec<usize>Number of point-neighbor blocks for each row.
Trait Implementations§
Source§impl Clone for PreallocationGraph
impl Clone for PreallocationGraph
Source§fn clone(&self) -> PreallocationGraph
fn clone(&self) -> PreallocationGraph
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 moreSource§impl Debug for PreallocationGraph
impl Debug for PreallocationGraph
impl Eq for PreallocationGraph
Source§impl PartialEq for PreallocationGraph
impl PartialEq for PreallocationGraph
impl StructuralPartialEq for PreallocationGraph
Auto Trait Implementations§
impl Freeze for PreallocationGraph
impl RefUnwindSafe for PreallocationGraph
impl Send for PreallocationGraph
impl Sync for PreallocationGraph
impl Unpin for PreallocationGraph
impl UnsafeUnpin for PreallocationGraph
impl UnwindSafe for PreallocationGraph
Blanket Implementations§
Source§impl<T> AccumulatePathExt for T
impl<T> AccumulatePathExt for T
fn accumulate_path<O, I>(path: I) -> Owhere
O: Orientation,
I: IntoIterator<Item = O>,
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