pub struct Found<X, F> {
pub x: X,
pub value: F,
pub evaluations: usize,
pub converged: bool,
}Expand description
What a front found.
Fields§
§x: XThe best point evaluated. For solve_linear, the last iterate.
value: FThe function’s value at x. For solve and solve_linear, the norm of the residuals there.
evaluations: usizeHow many times the function was evaluated. For solve_linear, how many products with the matrix and its transpose, including one for the residual at x.
converged: boolWhether the method’s stopping test passed before the evaluations ran out.
Trait Implementations§
impl<X: PartialEq, F: PartialEq> StructuralPartialEq for Found<X, F>
Auto Trait Implementations§
impl<X, F> Forget for Found<X, F>
impl<X, F> Freeze for Found<X, F>
impl<X, F> RefUnwindSafe for Found<X, F>where
X: RefUnwindSafe,
F: RefUnwindSafe,
impl<X, F> Send for Found<X, F>
impl<X, F> Sync for Found<X, F>
impl<X, F> Unpin for Found<X, F>
impl<X, F> UnsafeUnpin for Found<X, F>where
X: UnsafeUnpin,
F: UnsafeUnpin,
impl<X, F> UnwindSafe for Found<X, F>where
X: UnwindSafe,
F: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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