The class defines a generic interpolation technique used in the TransformationModelInterpolated.
More...
#include <OpenMS/ANALYSIS/MAPMATCHING/TransformationModelInterpolated.h>
The class defines a generic interpolation technique used in the TransformationModelInterpolated.
- Note
- This class is nested in cpp file as we don't want this to be part of the public interface nor to be exposed to derived or other classes.
◆ ~Interpolator()
◆ eval()
virtual double eval |
( |
const double & |
x | ) |
const |
|
pure virtual |
Evaluate the underlying interpolation at a specific position x.
- Parameters
-
x | The position where the interpolation should be evaluated. |
- Returns
- The interpolated value.
◆ init()
virtual void init |
( |
std::vector< double > & |
x, |
|
|
std::vector< double > & |
y |
|
) |
| |
|
pure virtual |
Initialize the Interpolator.
- Parameters
-
x | The x data. |
y | The y data. |