Struct multistochgrad::types::Solution
source · pub struct Solution<D: Dimension> {
pub position: Array<f64, D>,
pub value: f64,
}
Expand description
A solution of a minimization run providing only the minimal information.
Each Minimizer
might yield different types of solution structs which provide more
information.
Fields§
§position: Array<f64, D>
Position x
of the lowest corresponding value f(x)
that has been found.
value: f64
The actual value f(x)
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<D> RefUnwindSafe for Solution<D>where
D: RefUnwindSafe,
impl<D> Send for Solution<D>
impl<D> Sync for Solution<D>
impl<D> Unpin for Solution<D>where
D: Unpin,
impl<D> UnwindSafe for Solution<D>where
D: UnwindSafe,
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