pub struct NelderMeadResult {
pub x: Vec<f64>,
pub fun: f64,
pub iterations: usize,
pub n_evals: usize,
pub self_converged: bool,
}Expand description
Nelder-Mead result.
Fields§
§x: Vec<f64>Best parameter vector found.
fun: f64Objective value at x.
iterations: usizeNumber of simplex iterations performed.
n_evals: usizeTotal objective evaluations (including initial simplex).
self_converged: booltrue if both xatol and fatol were satisfied before hitting
max_iter. Per memo 35 §P2.3, acceptance should be judged from
the deviance value, not this flag.
Trait Implementations§
Source§impl Clone for NelderMeadResult
impl Clone for NelderMeadResult
Source§fn clone(&self) -> NelderMeadResult
fn clone(&self) -> NelderMeadResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NelderMeadResult
impl RefUnwindSafe for NelderMeadResult
impl Send for NelderMeadResult
impl Sync for NelderMeadResult
impl Unpin for NelderMeadResult
impl UnsafeUnpin for NelderMeadResult
impl UnwindSafe for NelderMeadResult
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> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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