MeteoIODoc 20241221.207bde49
mio::Zero Class Reference

#include <libfit1D.h>

Public Member Functions

 Zero ()
 
void setData (const std::vector< double > &, const std::vector< double > &)
 
bool fit ()
 
double f (const double &) const
 
- Public Member Functions inherited from mio::FitModel
 FitModel (const std::string &i_regname, const size_t &i_nParam, const size_t &i_min_nb_pts)
 
virtual ~FitModel ()
 
virtual void setData (const std::vector< double > &in_X, const std::vector< double > &in_Y)=0
 
void setGuess (const std::vector< double > &lambda_in)
 
virtual void setLapseRate (const double &)
 
virtual void setDegree (const size_t &)
 
virtual bool fit ()=0
 
virtual double f (const double &x) const =0
 
double operator() (const double &x) const
 
std::vector< double > getParams () const
 
std::string getName () const
 
std::string getInfo () const
 
void setInfo (const std::string &info)
 
FitModeloperator= (const FitModel &source)
 
bool isReady () const
 
std::string toString () const
 

Additional Inherited Members

- Protected Member Functions inherited from mio::FitModel
virtual bool checkInputs ()
 
- Protected Attributes inherited from mio::FitModel
std::vector< double > Lambda
 
std::vector< double > X
 
std::vector< double > Y
 
std::string infoString
 
const std::string regname
 
size_t nPts
 
size_t nParam
 
size_t min_nb_pts
 
bool fit_ready
 

Constructor & Destructor Documentation

◆ Zero()

mio::Zero::Zero ( )
inline

Member Function Documentation

◆ f()

double mio::Zero::f ( const double &  ) const
inlinevirtual

Implements mio::FitModel.

◆ fit()

bool mio::Zero::fit ( )
inlinevirtual

Implements mio::FitModel.

◆ setData()

void mio::Zero::setData ( const std::vector< double > &  ,
const std::vector< double > &   
)
inlinevirtual

Implements mio::FitModel.


The documentation for this class was generated from the following file: