pub struct FrontFactors { /* private fields */ }Expand description
Per-supernode factorization result.
Stores the L11, D11, and L21 blocks extracted from the factored frontal matrix, along with permutation and index information needed by the triangular solve.
§Invariants
l11.nrows() == l11.ncols() == num_eliminatedd11.dimension() == num_eliminatedl21.ncols() == num_eliminatedl21.nrows() == row_indices.len()col_indices.len() == num_eliminated
Implementations§
Source§impl FrontFactors
impl FrontFactors
Sourcepub fn d11(&self) -> &MixedDiagonal
pub fn d11(&self) -> &MixedDiagonal
Block diagonal D11 with mixed 1x1/2x2 pivots.
Sourcepub fn local_perm(&self) -> &[usize]
pub fn local_perm(&self) -> &[usize]
APTP local pivot permutation within this front.
Sourcepub fn num_eliminated(&self) -> usize
pub fn num_eliminated(&self) -> usize
Number of successfully eliminated columns.
Sourcepub fn col_indices(&self) -> &[usize]
pub fn col_indices(&self) -> &[usize]
Global permuted column indices for eliminated columns.
Sourcepub fn row_indices(&self) -> &[usize]
pub fn row_indices(&self) -> &[usize]
Global permuted row indices for L21 rows.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FrontFactors
impl RefUnwindSafe for FrontFactors
impl Send for FrontFactors
impl Sync for FrontFactors
impl Unpin for FrontFactors
impl UnsafeUnpin for FrontFactors
impl UnwindSafe for FrontFactors
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
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more