Struct rmpfit::MPConfig[][src]

pub struct MPConfig {
    pub ftol: f64,
    pub xtol: f64,
    pub gtol: f64,
    pub epsfcn: f64,
    pub step_factor: f64,
    pub covtol: f64,
    pub max_iter: usize,
    pub max_fev: usize,
    pub do_user_scale: bool,
    pub no_finite_check: bool,
}

MPFIT configuration structure

Fields

ftol: f64

Relative chi-square convergence criterion (Default: 1e-10)

xtol: f64

Relative parameter convergence criterion (Default: 1e-10)

gtol: f64

Orthogonality convergence criterion (Default: 1e-10)

epsfcn: f64

Finite derivative step size (Default: f64::EPSILON)

step_factor: f64

Initial step bound (Default: 100.0)

covtol: f64

Range tolerance for covariance calculation (Default: 1e-14)

max_iter: usize

Maximum number of iterations (Default: 200). If maxiter == 0, then basic error checking is done, and parameter errors/covariances are estimated based on input parameter values, but no fitting iterations are done.

max_fev: usize

Maximum number of function evaluations, or 0 for no limit (Default: 0 (no limit))

do_user_scale: bool

Scale variables by user values? true = yes, user scale values in diag; false = no, variables scaled internally (Default: false)

no_finite_check: bool

Disable check for infinite quantities from user? true = perform check; false = do not perform check (Default: false)

Trait Implementations

impl Default for MPConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.