16 return std::numeric_limits<double>::quiet_NaN();
52 std::pair<int, int> indices_BetaGammaLog10;
53 if (
empty())
return {-1,-1};
62 return indices_BetaGammaLog10;
74 if ((indices_BetaGammaLog10.first == -1) && (indices_BetaGammaLog10.second == -1))
return -1.;
75 if (
empty())
return -1.;
79 std::pair<int, int> indices_IntXLog10_x2 =
81 if (indices_IntXLog10_x2.first < 0) {
84 if (indices_IntXLog10_x2.second < 0) {
90 const auto diff = y22 - y21;
100 double Est = std::clamp(Est_x2,-300.,300.);
118 if (
empty())
return -1;
119 if (indices_BetaGammaLog10.first < 0) {
122 if (indices_BetaGammaLog10.second < 0) {
125 if (indices_BetaGammaLog10.second == indices_BetaGammaLog10.first){
136 const auto diff=BetaGammaLog10_2 - BetaGammaLog10_1;
140 double Est = ((BetaGammaLog10_2 - BetaGammaLog10) * Est_1 + (BetaGammaLog10 - BetaGammaLog10_1) * Est_2) /
diff;
141 Est = std::clamp(Est,-300.,300.);