The class defines a generic interpolation technique used in the TransformationModelInterpolated.
More...
#include <OpenMS/ANALYSIS/MAPMATCHING/TransformationModelInterpolated.h>
|
| virtual void | init (std::vector< double > &x, std::vector< double > &y)=0 |
| | Initialize the Interpolator.
|
| |
| virtual double | eval (const double &x) const =0 |
| | Evaluate the underlying interpolation at a specific position x.
|
| |
| virtual | ~Interpolator () |
| | d'tor.
|
| |
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
-
| [in] | 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
-
| [in] | x | The x data. |
| [in] | y | The y data. |