Struct rmpfit::MPPar[][src]

pub struct MPPar {
    pub fixed: bool,
    pub limited_low: bool,
    pub limited_up: bool,
    pub limit_low: f64,
    pub limit_up: f64,
    pub step: f64,
    pub rel_step: f64,
}

Parameter constraint structure

Fields

fixed: bool

A boolean value, whether the parameter is to be held fixed or not. Fixed parameters are not varied by MPFIT, but are passed on to MPFitter for evaluation.

limited_low: bool

Is the parameter fixed at the lower boundary? If true, then the parameter is bounded on the lower side.

limited_up: bool

Is the parameter fixed at the upper boundary? If true, then the parameter is bounded on the upper side.

limit_low: f64

Gives the parameter limit on the lower side.

limit_up: f64

Gives the parameter limit on the upper side.

step: f64

The step size to be used in calculating the numerical derivatives. If set to zero, then the step size is computed automatically. This value is superseded by the MPConfig::rel_step value.

rel_step: f64

The relative step size to be used in calculating the numerical derivatives. This number is the fractional size of the step, compared to the parameter value. This value supersedes the MPConfig::step setting. If the parameter is zero, then a default step size is chosen.

Trait Implementations

impl Default for MPPar[src]

Auto Trait Implementations

impl RefUnwindSafe for MPPar

impl Send for MPPar

impl Sync for MPPar

impl Unpin for MPPar

impl UnwindSafe for MPPar

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.