Go to the documentation of this file.
36 #ifndef FIELDS2COVER_UTILS_SPLINE_H_
37 #define FIELDS2COVER_UTILS_SPLINE_H_
47 CubicSpline(
const std::vector<double> &x,
const std::vector<double> &y,
48 bool monotonic =
false);
52 void SetPoints(
const std::vector<double> &x,
const std::vector<double> &y,
53 bool monotonic =
false);
69 void check_error(
bool cond,
const std::string& msg)
const;
74 #endif // FIELDS2COVER_UTILS_SPLINE_H_
std::vector< double > y_vec_
void check_error(bool cond, const std::string &msg) const
std::vector< double > c_vec_
std::vector< double > x_vec_
void SetPoints(const std::vector< double > &x, const std::vector< double > &y, bool monotonic=false)
Main namespace of the fields2cover library.
std::vector< double > b_vec_
double operator()(double x) const
std::vector< double > d_vec_
fields2cover
Author(s):
autogenerated on Fri Apr 25 2025 02:18:31