29 const std::vector<Real> & y,
31 bool truncate_order =
false);
33 virtual Real
sample(Real x)
override;
Base class for linear least squares fit method.
Least squares polynomial fit.
bool _truncate_order
Flag to implement a truncated polynomial.
static int _file_number
File number.
unsigned int _order
Order of the polynomial.
virtual Real sample(Real x) override
This function will take an independent variable input and will return the dependent variable based on...
virtual void fillMatrix() override
Helper function that creates the matrix necessary for the least squares algorithm.