regression.hpp
Go to the documentation of this file.
virtual double operator()(double) const =0
Operator performing calculation.
Definition: cadHoliday.cpp:3
virtual void estimate(const std::vector< double > &x, const std::vector< double > &y)=0
Estimates regression coefficients.
virtual std::vector< double > getCoefficient() const =0
return coefficients of the regression
virtual Regression * clone() const
virtual copy constructor
Definition: regression.hpp:64
Class is an abstract class implementing interface of regression.
Definition: regression.hpp:20
Class uses Curiously Recurring Template Pattern to implement polymorphic copy construction in every d...
Definition: regression.hpp:60