Go to the documentation of this file.
30 CLinearInterpolator(
double* positions,
double* values,
int nodesCount,
bool isExtrapolationEnabled =
false);
33 void SetNodes(
double* positions,
double* values,
int nodesCount)
override;
36 bool GetValueAt(
const double& argument,
double& result)
const override;
37 double GetValueAt(
const double& argument)
const override;
40 typedef QMap<double, double> Nodes;
42 bool m_isExtrapolationEnabled;
Implementation of a linear interpolator.
void SetNodes(double *positions, double *values, int nodesCount) override
bool GetValueAt(const double &argument, double &result) const override
CLinearInterpolator(double *positions, double *values, int nodesCount, bool isExtrapolationEnabled=false)
double GetValueAt(const double &argument) const override
Interface for mathematical real functions interpolation.
Package with mathematical functions and algebraical primitives.
© Witold Gantzke and Kirill Lepskiy