22 : m_limits(limits), m_att_fixed(fixedAttr)
109 return !(*
this == other);
114 std::ostringstream result;
Defines and implements class AttLimits.
Attributes and limits of a fit parameter, and coupling between these properties.
double lowerLimit() const
std::string toString() const
static AttLimits lowerLimited(double bound_value)
void setFixed(bool isFixed)
static AttLimits limitless()
double upperLimit() const
bool isUpperLimited() const
bool operator==(const AttLimits &other) const
bool operator!=(const AttLimits &other) const
static AttLimits upperLimited(double bound_value)
static AttLimits nonnegative()
static AttLimits positive()
static AttLimits limited(double left_bound_value, double right_bound_value)
bool isLowerLimited() const
Attributes for a fit parameter.
static Attributes fixed()
Creates a fixed value object.
void setFixed(bool is_fixed)
Limits for a real fit parameter.
static RealLimits limitless()
Creates an object withoud bounds (default)
static RealLimits upperLimited(double bound_value)
Creates an object bounded from the right.
bool hasUpperLimit() const
if has upper limit
static RealLimits lowerLimited(double bound_value)
Creates an object bounded from the left.
bool hasLowerAndUpperLimits() const
if has lower and upper limit
static RealLimits positive()
Creates an object which can have only positive values (>0., zero is not included)
double upperLimit() const
Returns upper limit.
double lowerLimit() const
Returns lower limit.
static RealLimits nonnegative()
Creates an object which can have only positive values with 0. included.
void removeLimits()
remove limits
static RealLimits limited(double left_bound_value, double right_bound_value)
Creates an object bounded from the left and right.
bool hasLowerLimit() const
if has lower limit
std::string scientific(const T value, int n=10)
Returns scientific string representing given value of any numeric type.