pub struct DenseLuBacksolver { /* private fields */ }Expand description
Synthetic dense-LU backsolver. Used in this crate’s tests to
validate the sensitivity math against known-good linear-algebra
answers without standing up the full pounce IPM. Phase B.2 ships
a real pounce-algorithm-backed implementation; this stays for
regression tests and as a reference for the trait contract.
Stores a row-major n × n matrix and reuses an in-place
Gaussian-elimination LU factor with partial pivoting. Numerical
stability is fine for the small problem sizes the unit tests
exercise (n ≤ 16).
Implementations§
Trait Implementations§
Source§impl Clone for DenseLuBacksolver
impl Clone for DenseLuBacksolver
Source§fn clone(&self) -> DenseLuBacksolver
fn clone(&self) -> DenseLuBacksolver
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 DenseLuBacksolver
impl Debug for DenseLuBacksolver
Source§impl SensBacksolver for DenseLuBacksolver
impl SensBacksolver for DenseLuBacksolver
Auto Trait Implementations§
impl Freeze for DenseLuBacksolver
impl RefUnwindSafe for DenseLuBacksolver
impl Send for DenseLuBacksolver
impl Sync for DenseLuBacksolver
impl Unpin for DenseLuBacksolver
impl UnsafeUnpin for DenseLuBacksolver
impl UnwindSafe for DenseLuBacksolver
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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