|
|
bool | check (T value) const |
| | Check if a value is within the limits.
|
| |
|
T | clip (T value) const |
| | Return the closest value to the input that is within the limits.
|
| |
|
T | get_min () const |
| | Return the minimum.
|
| |
|
T | get_max () const |
| | Return the maximum.
|
| |
|
void | set (T min, T max) |
| | Set the minimum and maximum.
|
| |
|
void | set_min (T min) |
| | Set the minimum.
|
| |
|
void | set_max (T max) |
| | Set the maximum.
|
| |
| std::string | repr (bool name_keywords=false, const std::string_view &namespace_separator=CC_NAMESPACE_SEPARATOR) const override |
| |
| std::string | str () const override |
| | Return a brief, human-readable string representation of this.
|
| |
|
| Limits (T min=-std::numeric_limits< T >::infinity(), T max=std::numeric_limits< T >::infinity(), std::string name_="") |
| | Initialize limits from the minimum and maximum value.
|
| |
template<typename T>
class lsst::modelfit::parameters::Limits< T >
Range-based limits for parameter values.
- Template Parameters
-
| T | The type of the value. Only floating point values are tested. |