pub struct OptimizerResult<T: FloatNumber, X: Array1<T>> {
pub x: X,
pub f_x: T,
pub iterations: usize,
}Expand description
Result of optimization
Fields§
§x: XSolution
f_x: Tf(x) value
iterations: usizenumber of iterations
Trait Implementations§
Source§impl<T: Clone + FloatNumber, X: Clone + Array1<T>> Clone for OptimizerResult<T, X>
impl<T: Clone + FloatNumber, X: Clone + Array1<T>> Clone for OptimizerResult<T, X>
Source§fn clone(&self) -> OptimizerResult<T, X>
fn clone(&self) -> OptimizerResult<T, X>
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<T, X> Freeze for OptimizerResult<T, X>
impl<T, X> RefUnwindSafe for OptimizerResult<T, X>where
X: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, X> Send for OptimizerResult<T, X>
impl<T, X> Sync for OptimizerResult<T, X>
impl<T, X> Unpin for OptimizerResult<T, X>
impl<T, X> UnsafeUnpin for OptimizerResult<T, X>where
X: UnsafeUnpin,
T: UnsafeUnpin,
impl<T, X> UnwindSafe for OptimizerResult<T, X>where
X: UnwindSafe,
T: 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