#[non_exhaustive]pub struct LmResult {
pub x: Vec<f64>,
pub fvec: Vec<f64>,
pub nfev: usize,
pub njev: usize,
pub info: i32,
}Expand description
The result of leastsq.
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>§fvec: Vec<f64>F(x) at the solution.
nfev: usizeEvaluations of F, including those for finite-difference Jacobians.
njev: usizeEvaluations of the Jacobian (0 with finite differences).
info: i32MINPACK’s info: 1 ftol, 2 xtol, 3 both, 4 gtol, 5 the evaluation limit, 6–8 a tolerance
too small to improve on.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LmResult
impl RefUnwindSafe for LmResult
impl Send for LmResult
impl Sync for LmResult
impl Unpin for LmResult
impl UnsafeUnpin for LmResult
impl UnwindSafe for LmResult
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