#include <libfit1D.h>
Public Member Functions | |
| SimpleLinear () | |
| void | setData (const std::vector< double > &in_X, const std::vector< double > &in_Y) |
| bool | fit () |
| double | f (const double &x) const |
| void | setLapseRate (const double &in_lapse_rate) |
Public Member Functions inherited from mio::FitModel | |
| FitModel () | |
| virtual | ~FitModel () |
| void | setGuess (const std::vector< double > &lambda_in) |
| void | getParams (std::vector< double > &o_coefficients) const |
| std::string | getName () const |
| std::string | getInfo () const |
| void | setInfo (const std::string &info) |
| FitModel & | operator= (const FitModel &source) |
| std::string | toString () const |
Protected Attributes | |
| double | fixed_lapse_rate |
Protected Attributes inherited from mio::FitModel | |
| std::vector< double > | Lambda |
| std::vector< double > | X |
| std::vector< double > | Y |
| std::string | infoString |
| std::string | regname |
| size_t | nPts |
| size_t | nParam |
| size_t | min_nb_pts |
| bool | fit_ready |
Additional Inherited Members | |
Protected Member Functions inherited from mio::FitModel | |
| virtual bool | checkInputs () |
|
inline |
|
virtual |
Implements mio::FitModel.
|
virtual |
Implements mio::FitModel.
Reimplemented in mio::NoisyLinear.
|
virtual |
Implements mio::FitModel.
|
inlinevirtual |
Reimplemented from mio::FitModel.
|
protected |