26 void AddPoint(
const double &,
const double &);
27 inline double GetFunc(
const double &xx_) {
32 std::map<double, double>::iterator high_, low_;
33 high_ =
FuncMap.upper_bound(xx_);
37 return (low_->second + (high_->second - low_->second) * (xx_ - low_->first) / (high_->first - low_->first));
41 std::map<double, double>::iterator high_, low_;
50 return (low_->second + (high_->second - low_->second) * (xx_ - low_->first) / (high_->first - low_->first));
52 void WeightInit(
const double &,
const double &);