#[non_exhaustive]pub struct TrustRegionResult {
pub x: Vec<f64>,
pub fun: f64,
pub jac: Vec<f64>,
pub iterations: usize,
pub nfev: usize,
pub njev: usize,
pub nhev: usize,
pub status: i32,
}Expand description
The result of minimize_trust_region.
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§jac: Vec<f64>§iterations: usize§nfev: usize§njev: usize§nhev: usize§status: i320 converged, 1 iteration limit, 2 the model failed to predict a decrease, 3 a linear
algebra failure (a non-positive-definite Hessian for dogleg).
Trait Implementations§
Source§impl Clone for TrustRegionResult
impl Clone for TrustRegionResult
Auto Trait Implementations§
impl Freeze for TrustRegionResult
impl RefUnwindSafe for TrustRegionResult
impl Send for TrustRegionResult
impl Sync for TrustRegionResult
impl Unpin for TrustRegionResult
impl UnsafeUnpin for TrustRegionResult
impl UnwindSafe for TrustRegionResult
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