pub struct OptimizationResult {
pub params: Vec<f64>,
pub value: f64,
pub iterations: usize,
pub converged: bool,
pub gradient_norm: f64,
pub value_history: Vec<f64>,
}Expand description
Result of an optimization run.
Fields§
§params: Vec<f64>Optimal parameters found
value: f64Final objective value
iterations: usizeNumber of iterations performed
converged: boolWhether optimization converged
gradient_norm: f64Final gradient norm
value_history: Vec<f64>History of objective values
Trait Implementations§
Source§impl Clone for OptimizationResult
impl Clone for OptimizationResult
Source§fn clone(&self) -> OptimizationResult
fn clone(&self) -> OptimizationResult
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 OptimizationResult
impl RefUnwindSafe for OptimizationResult
impl Send for OptimizationResult
impl Sync for OptimizationResult
impl Unpin for OptimizationResult
impl UnwindSafe for OptimizationResult
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