9 const double currvalue,
const double Threshold)
11 if ((prediff * postdiff < 0) && (currvalue > Threshold))
18 const double currvalue,
const double Threshold)
20 if ((prediff * postdiff < 0) && (std::abs(prediff) > Threshold))
27 const double currvalue,
const double Threshold)
29 if ((prediff * postdiff < 0) && (std::abs(postdiff) > Threshold))
36 const double currvalue,
const double Threshold)
38 if ((prediff * postdiff < 0) && ((std::abs(postdiff) > Threshold) || (fabs(
39 prediff) > Threshold)))
46 const double currvalue,
const double Threshold)
48 if ((prediff * postdiff < 0) && ((std::abs(postdiff) > Threshold) && (fabs(
49 prediff) > Threshold)))