1 #ifndef MYGSL_LOGISTIC_FUNCTION_H 2 #define MYGSL_LOGISTIC_FUNCTION_H 58 virtual void tree_dump(std::ostream & out_ = std::clog,
59 const std::string & title_ =
"",
60 const std::string & indent_ =
"",
61 bool inherit_ =
false)
const;
66 double _eval(
double x_)
const;
87 #endif // MYGSL_LOGISTIC_FUNCTION_H #define DATATOOLS_CLONEABLE_DECLARATION(Copyable)
Definition: i_cloneable.h:113
virtual bool is_initialized() const
Check initialization status.
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_midpoint(double midpoint_)
Set the midpoint.
virtual ~logistic_function()
Destructor.
void set_amplitude(double amplitude_)
Set the amplitude.
Logistic function.
Definition: logistic_function.h:14
double get_amplitude() const
Return the amplitude.
virtual void reset()
Reset the function.
virtual void initialize(const datatools::properties &config_, const unary_function_dict_type &functors_)
Initialization from a container of parameters and a dictionary of functors.
Abstract interface for unary functions : R -> R.
Definition: i_unary_function.h:44
void set_steepness(double steepness_)
Set the steepness.
double _eval(double x_) const
Evaluation.
void _set_defaults()
Set default attributes values.
Top-level namespace of the Bayeux/mygsl module library.
Definition: base_decay_driver.h:47
double get_midpoint() const
Return the midpoint.
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 get_steepness() const
Return the steepness.
logistic_function()
Default constructor.