1 #ifndef OPENMM_SPLINEFITTER_H_
2 #define OPENMM_SPLINEFITTER_H_
35 #include "windowsExport.h"
56 static void createNaturalSpline(
const std::vector<double>& x,
const std::vector<double>& y, std::vector<double>& deriv);
68 static void createPeriodicSpline(
const std::vector<double>& x,
const std::vector<double>& y, std::vector<double>& deriv);
78 static double evaluateSpline(
const std::vector<double>& x,
const std::vector<double>& y,
const std::vector<double>& deriv,
double t);
88 static double evaluateSplineDerivative(
const std::vector<double>& x,
const std::vector<double>& y,
const std::vector<double>& deriv,
double t);
90 static void solveTridiagonalMatrix(
const std::vector<double>& a,
const std::vector<double>& b,
const std::vector<double>& c,
const std::vector<double>& rhs, std::vector<double>& sol);
SplineFitter provides routines for performing cubic spline interpolation.
Definition: SplineFitter.h:44