1 #ifndef MYGSL_GOMPERTZ_FUNCTION_H 2 #define MYGSL_GOMPERTZ_FUNCTION_H 60 virtual void tree_dump(std::ostream & out_ = std::clog,
61 const std::string & title_ =
"",
62 const std::string & indent_ =
"",
63 bool inherit_ =
false)
const;
68 double _eval(
double x_)
const;
76 double _displacement_;
89 #endif // MYGSL_GOMPERTZ_FUNCTION_H #define DATATOOLS_CLONEABLE_DECLARATION(Copyable)
Definition: i_cloneable.h:113
double get_displacement() const
Return displacement.
virtual ~gompertz_function()
Destructor.
void _set_defaults()
Set default attributes values.
virtual void initialize(const datatools::properties &config_, const unary_function_dict_type &functors_)
Initialization from a container of parameters and a dictionary of functors.
Gompertz function.
Definition: gompertz_function.h:14
void set_growth_rate(double growth_rate_)
Set growth rate.
virtual void reset()
Reset the function.
virtual void tree_dump(std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const
Smart printing.
void set_asymptote(double asymptote_)
Set asymptote.
Abstract interface for unary functions : R -> R.
Definition: i_unary_function.h:44
double get_growth_rate() const
Return growth rate.
Top-level namespace of the Bayeux/mygsl module library.
Definition: base_decay_driver.h:47
gompertz_function()
Default constructor.
double get_asymptote() const
Return asymptote.
std::map< std::string, unary_function_handle_type > unary_function_dict_type
Alias for dictionary of handles to unary function objects.
Definition: unary_function_utils.h:30
#define MYGSL_UNARY_FUNCTOR_REGISTRATION_INTERFACE(UnaryFunctorClass)
Definition: i_unary_function.h:206
double _eval(double x_) const
Evaluation.
void set_displacement(double displacement_)
Set displacement.
virtual bool is_initialized() const
Check initialization status.