pub struct SupernodalStructure {
pub supernodes: Vec<Supernode>,
pub membership: Vec<usize>,
}Expand description
Supernodal partition of the matrix.
Fields§
§supernodes: Vec<Supernode>The supernodes.
membership: Vec<usize>Maps each column to its supernode index.
Implementations§
Source§impl SupernodalStructure
impl SupernodalStructure
Sourcepub fn from_etree(
etree: &EliminationTree,
row_offsets: &[usize],
col_indices: &[usize],
) -> Self
pub fn from_etree( etree: &EliminationTree, row_offsets: &[usize], col_indices: &[usize], ) -> Self
Detect fundamental supernodes from the elimination tree and column counts.
Trait Implementations§
Source§impl Clone for SupernodalStructure
impl Clone for SupernodalStructure
Source§fn clone(&self) -> SupernodalStructure
fn clone(&self) -> SupernodalStructure
Returns a duplicate of the value. Read more
1.0.0 · 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 SupernodalStructure
impl RefUnwindSafe for SupernodalStructure
impl Send for SupernodalStructure
impl Sync for SupernodalStructure
impl Unpin for SupernodalStructure
impl UnsafeUnpin for SupernodalStructure
impl UnwindSafe for SupernodalStructure
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