#[non_exhaustive]pub struct ShgoResult {
pub x: Vec<f64>,
pub fun: f64,
pub xl: Vec<Vec<f64>>,
pub funl: Vec<f64>,
pub nfev: usize,
pub nlfev: usize,
pub minimizers: Vec<Vec<f64>>,
}Expand description
The result of shgo.
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.x: Vec<f64>The global minimiser found and its value.
fun: f64§xl: Vec<Vec<f64>>All distinct local minima found, sorted by value (SciPy’s xl, funl).
funl: Vec<f64>§nfev: usizeSampling evaluations, local solves, and the sampled points that were minimisers.
nlfev: usize§minimizers: Vec<Vec<f64>>Trait Implementations§
Source§impl Clone for ShgoResult
impl Clone for ShgoResult
Auto Trait Implementations§
impl Freeze for ShgoResult
impl RefUnwindSafe for ShgoResult
impl Send for ShgoResult
impl Sync for ShgoResult
impl Unpin for ShgoResult
impl UnsafeUnpin for ShgoResult
impl UnwindSafe for ShgoResult
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