Go to the documentation of this file.
36 void SetNodes(
double* positions,
double* values,
int nodesCount)
override;
39 bool GetValueAt(
const double& argument,
double& result)
const override;
40 double GetValueAt(
const double& argument)
const override;
Interpolation using linear regression with polynomial 1st degree.
CLinRegressionInterpolator(double *positions, double *values, int nodesCount)
void SetNodes(double *positions, double *values, int nodesCount) override
CLinRegressionInterpolator()
bool GetValueAt(const double &argument, double &result) const override
double GetValueAt(const double &argument) const override
double GetFactorA() const
Get factor 'a' of linear equesion y = a*x + b.
double GetFactorB() const
Get factor 'b' of linear equesion y = a*x + b.
Interface for mathematical real functions interpolation.
Package with mathematical functions and algebraical primitives.
© Witold Gantzke and Kirill Lepskiy