pub struct SigmaOverride {
pub x: Option<Rc<dyn Vector>>,
pub s: Option<Rc<dyn Vector>>,
}Expand description
Barrier-diagonal replacements for one
PdFullSpaceSolver::solve_with_sigma call. None on a side means
“use the calculated quantity”, so Self::default is exactly
PdFullSpaceSolver::solve.
The two blocks travel together because they answer the same question about the same iterate — how stiffly the barrier holds each active bound — and a caller that corrects one and not the other leaves the factor describing a point that is half in one frame and half in the other.
Fields§
§x: Option<Rc<dyn Vector>>Replacement for cq.curr_sigma_x(): the variable-bound
contribution to the x diagonal.
s: Option<Rc<dyn Vector>>Replacement for cq.curr_sigma_s(): the inequality-row-bound
contribution to the s diagonal.
Trait Implementations§
Source§impl Clone for SigmaOverride
impl Clone for SigmaOverride
Source§fn clone(&self) -> SigmaOverride
fn clone(&self) -> SigmaOverride
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 Default for SigmaOverride
impl Default for SigmaOverride
Source§fn default() -> SigmaOverride
fn default() -> SigmaOverride
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for SigmaOverride
impl !Send for SigmaOverride
impl !Sync for SigmaOverride
impl !UnwindSafe for SigmaOverride
impl Freeze for SigmaOverride
impl Unpin for SigmaOverride
impl UnsafeUnpin for SigmaOverride
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,
impl<T, U> Imply<T> for U
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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