1 #ifndef SIMPLEXINTERPOLATOR_HH
2 #define SIMPLEXINTERPOLATOR_HH
45 void Initialize(
const std::vector<Vertex>& vertices);
53 double Evaluate(
const std::vector<double>& v)
const;
SimplexInterpolator & operator=(const SimplexInterpolator &sint)
Equality operator.
Definition: SimplexInterpolator.cc:23
double operator()(const std::vector< double > &v) const
Function operator, executes evaluate.
Definition: SimplexInterpolator.hh:34
std::vector< double > _params
(n+1)-vector of fitting parameters
Definition: SimplexInterpolator.hh:57
double Evaluate(const std::vector< double > &v) const
Performs the simplex interpolation at an n-point v.
Definition: SimplexInterpolator.cc:69
~SimplexInterpolator()
Destructor.
Definition: SimplexInterpolator.cc:32
Performs the simplical interplation between n+1 discrete samples in n dimensions. ...
Definition: SimplexInterpolator.hh:16
void Initialize(const std::vector< Vertex > &vertices)
Fit the n+1 vertices with a hyperplane, store the parameters.
Definition: SimplexInterpolator.cc:34
SimplexInterpolator()
Default constructor, initilizes everything to 0.
Definition: SimplexInterpolator.cc:3