15 #ifndef BORNAGAIN_FIT_TOOLS_ATTLIMITS_H
16 #define BORNAGAIN_FIT_TOOLS_ATTLIMITS_H
31 static AttLimits lowerLimited(
double bound_value);
34 static AttLimits upperLimited(
double bound_value);
35 static AttLimits limited(
double left_bound_value,
double right_bound_value);
39 bool isLimited()
const;
40 bool isUpperLimited()
const;
41 bool isLowerLimited()
const;
42 bool isLimitless()
const;
44 double lowerLimit()
const;
45 double upperLimit()
const;
47 void setFixed(
bool isFixed);
49 bool operator==(
const AttLimits& other)
const;
50 bool operator!=(
const AttLimits& other)
const;
52 std::string toString()
const;
54 friend std::ostream& operator<<(std::ostream& ostr,
const AttLimits& m)
Defines and implements class Attributes.
Defines class RealLimits.
Attributes and limits of a fit parameter, and coupling between these properties.
Attributes for a fit parameter.
Limits for a real fit parameter.