BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
A fittable parameter with value, error, step, and limits.
Public Member Functions | |
Parameter () | |
Parameter (std::string name, double value, const AttLimits &limits=AttLimits::limitless(), double step=0.0) | |
Fit parameter constructor. More... | |
double | error () const |
AttLimits | limits () const |
std::string | name () const |
void | setError (double value) |
void | setValue (double value) |
double | startValue () const |
double | step () const |
double | value () const |
mumufit::Parameter::Parameter | ( | ) |
mumufit::Parameter::Parameter | ( | std::string | name, |
double | value, | ||
const AttLimits & | limits = AttLimits::limitless() , |
||
double | step = 0.0 |
||
) |
Fit parameter constructor.
name | unique name of fit parameters |
value | starting value of fit parameter |
limits | fit parameter limits |
step | initial step of fit parameter during the minimization, will be calculated automatically, if zero. |
double mumufit::Parameter::error | ( | ) | const |
AttLimits mumufit::Parameter::limits | ( | ) | const |
std::string mumufit::Parameter::name | ( | ) | const |
void mumufit::Parameter::setError | ( | double | value | ) |
void mumufit::Parameter::setValue | ( | double | value | ) |
double mumufit::Parameter::startValue | ( | ) | const |
double mumufit::Parameter::step | ( | ) | const |
double mumufit::Parameter::value | ( | ) | const |