pub struct OptimResult {
pub x: Vec<f64>,
pub value: f64,
pub iterations: usize,
pub converged: bool,
}Expand description
Result of an optimization run.
Fields§
§x: Vec<f64>The best parameter vector found.
value: f64Objective value at x (for least squares: the sum of squared
residuals).
iterations: usizeIterations (gradient methods), simplex steps, or generations.
converged: boolTrue when the method’s convergence criterion was met.
Trait Implementations§
Source§impl Clone for OptimResult
impl Clone for OptimResult
Source§fn clone(&self) -> OptimResult
fn clone(&self) -> OptimResult
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 moreAuto Trait Implementations§
impl Freeze for OptimResult
impl RefUnwindSafe for OptimResult
impl Send for OptimResult
impl Sync for OptimResult
impl Unpin for OptimResult
impl UnsafeUnpin for OptimResult
impl UnwindSafe for OptimResult
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