pub struct GlobalCsrPattern {
pub xadj: Vec<usize>,
pub adjncy: Vec<usize>,
pub rows: Vec<usize>,
}Expand description
Global-numbered CSR sparsity pattern for solver matrix preallocation.
Fields§
§xadj: Vec<usize>CSR row offsets.
adjncy: Vec<usize>Global column indices.
rows: Vec<usize>Global row indices represented by each CSR row.
Trait Implementations§
Source§impl Clone for GlobalCsrPattern
impl Clone for GlobalCsrPattern
Source§fn clone(&self) -> GlobalCsrPattern
fn clone(&self) -> GlobalCsrPattern
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 GlobalCsrPattern
impl Debug for GlobalCsrPattern
impl Eq for GlobalCsrPattern
Source§impl PartialEq for GlobalCsrPattern
impl PartialEq for GlobalCsrPattern
impl StructuralPartialEq for GlobalCsrPattern
Auto Trait Implementations§
impl Freeze for GlobalCsrPattern
impl RefUnwindSafe for GlobalCsrPattern
impl Send for GlobalCsrPattern
impl Sync for GlobalCsrPattern
impl Unpin for GlobalCsrPattern
impl UnsafeUnpin for GlobalCsrPattern
impl UnwindSafe for GlobalCsrPattern
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