#[non_exhaustive]pub struct CurveFitResult {
pub parameters: Vec<f64>,
pub covariance: Vec<Vec<f64>>,
pub standard_errors: Vec<f64>,
pub chi_squared: f64,
pub reduced_chi_squared: f64,
pub iterations: usize,
pub converged: bool,
}Expand description
The outcome of curve_fit.
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.parameters: Vec<f64>§covariance: Vec<Vec<f64>>Parameter covariance (n × n).
standard_errors: Vec<f64>One-sigma parameter uncertainties, √diag(covariance).
chi_squared: f64Σ ((y_i − f(x_i)) / σ_i)².
reduced_chi_squared: f64chi_squared / (m − n).
iterations: usize§converged: boolTrait Implementations§
Source§impl Clone for CurveFitResult
impl Clone for CurveFitResult
Auto Trait Implementations§
impl Freeze for CurveFitResult
impl RefUnwindSafe for CurveFitResult
impl Send for CurveFitResult
impl Sync for CurveFitResult
impl Unpin for CurveFitResult
impl UnsafeUnpin for CurveFitResult
impl UnwindSafe for CurveFitResult
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