Skip to main content

KrawczykStep

Struct KrawczykStep 

Source
pub struct KrawczykStep<S: Scalar> {
    pub contracted: Vector<S, 2>,
    pub verified: bool,
    pub empty: bool,
}
Expand description

Outcome of one gauss_newton_krawczyk_step contraction.

Fields§

§contracted: Vector<S, 2>

K(X) ∩ X — still an honest enclosure of every root of F in the incoming X, tightened whenever K(X) and X actually overlap. Meaningless (equal to the incoming X, unchanged) when empty is true — the whole point of that flag is to tell the two cases apart.

§verified: bool

K(X) ⊆ X held: the rigorous existence-and-uniqueness certificate (Krawczyk’s classical guarantee) — X contains exactly one root of F, and it lies in contracted.

§empty: bool

K(X) and X did not even overlap on some component: a rigorous non-existence proof — X contains no root of F at all. Distinct from !verified, which merely means “inconclusive” (neither proved nor disproved) — the caller must check this before trusting contracted.

Auto Trait Implementations§

§

impl<S> Freeze for KrawczykStep<S>
where S: Freeze,

§

impl<S> RefUnwindSafe for KrawczykStep<S>
where S: RefUnwindSafe,

§

impl<S> Send for KrawczykStep<S>

§

impl<S> Sync for KrawczykStep<S>

§

impl<S> Unpin for KrawczykStep<S>
where S: Unpin,

§

impl<S> UnsafeUnpin for KrawczykStep<S>
where S: UnsafeUnpin,

§

impl<S> UnwindSafe for KrawczykStep<S>
where S: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.