![]() |
slope 0.29.0
|
Definitions of constants used in libslope. More...
#include <limits>
Go to the source code of this file.
Namespaces | |
namespace | slope |
Namespace containing SLOPE regression implementation. | |
namespace | slope::constants |
Namespace containing constants used in the slope library. | |
Variables | |
constexpr double | slope::constants::EPSILON = 1e-10 |
Small value used for floating-point comparisons to handle precision issues. | |
constexpr double | slope::constants::P_MIN = 1e-9 |
Minimum allowed probability value to avoid numerical underflow. | |
constexpr double | slope::constants::P_MAX = 1.0 - P_MIN |
Maximum allowed probability value to avoid numerical issues near 1.0. | |
constexpr double | slope::constants::POS_INF = std::numeric_limits<double>::max() |
Representation of positive infinity using maximum double value. | |
constexpr double | slope::constants::NEG_INF = std::numeric_limits<double>::lowest() |
Representation of negative infinity using lowest double value. | |
Definitions of constants used in libslope.
This file contains fundamental constants used throughout the slope library. These constants include numerical limits, probability bounds, and special values used for computation and validation.
Definition in file constants.h.