#[non_exhaustive]pub struct BoundedResult {
pub x: Vec<f64>,
pub fun: f64,
pub gradient: Vec<f64>,
pub iterations: usize,
pub nfev: usize,
pub converged: bool,
pub active: Vec<i8>,
}Expand description
The result of a bound-constrained minimisation.
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>§fun: f64§gradient: Vec<f64>§iterations: usize§nfev: usize§converged: booltrue when a convergence test was met.
active: Vec<i8>−1, 0, +1 per variable: at its lower bound, free, at its upper bound.
Trait Implementations§
Source§impl Clone for BoundedResult
impl Clone for BoundedResult
Auto Trait Implementations§
impl Freeze for BoundedResult
impl RefUnwindSafe for BoundedResult
impl Send for BoundedResult
impl Sync for BoundedResult
impl Unpin for BoundedResult
impl UnsafeUnpin for BoundedResult
impl UnwindSafe for BoundedResult
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