pub struct ElimStep {
pub row: usize,
pub var: usize,
pub pivot: Number,
}Expand description
One accepted elimination, in application order.
The postsolve multiplier recovery in crate::linear_eq_elim walks
these in reverse, which is what makes the dual system triangular; see
that module’s recover_dropped_multipliers for why.
Fields§
§row: usizeFull-space row consumed by this step.
var: usizeFull-space variable it determined.
pivot: NumberThe row’s coefficient on var in the partially substituted
problem at the moment of the step — i.e. the pivot. Non-zero.
Trait Implementations§
impl Copy for ElimStep
impl StructuralPartialEq for ElimStep
Auto Trait Implementations§
impl Freeze for ElimStep
impl RefUnwindSafe for ElimStep
impl Send for ElimStep
impl Sync for ElimStep
impl Unpin for ElimStep
impl UnsafeUnpin for ElimStep
impl UnwindSafe for ElimStep
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