#[non_exhaustive]pub struct OptimizationResult {
pub parameters: Vec<f64>,
pub objective_value: f64,
pub iterations: usize,
pub converged: bool,
}Expand description
OptimizationResult: the best parameters found, the objective there, the iterations taken
and whether the method’s convergence test was met. What counts as an iteration, and what the
test is, differ between methods; see each method’s documentation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.parameters: Vec<f64>§objective_value: f64§iterations: usize§converged: boolTrait Implementations§
Source§impl Clone for OptimizationResult
impl Clone for OptimizationResult
Auto Trait Implementations§
impl Freeze for OptimizationResult
impl RefUnwindSafe for OptimizationResult
impl Send for OptimizationResult
impl Sync for OptimizationResult
impl Unpin for OptimizationResult
impl UnsafeUnpin 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