21 #ifndef MYGSL_GAUSSIAN_FUNCTION_H 22 #define MYGSL_GAUSSIAN_FUNCTION_H 93 virtual void tree_dump(std::ostream & out_ = std::clog,
94 const std::string & title_ =
"",
95 const std::string & indent_ =
"",
96 bool inherit_ =
false)
const;
101 double _eval(
double x_)
const;
132 #endif // MYGSL_GAUSSIAN_FUNCTION_H Gaussian function.
Definition: gaussian_function.h:37
#define DATATOOLS_CLONEABLE_DECLARATION(Copyable)
Definition: i_cloneable.h:113
virtual ~gaussian_function()
Destructor.
void reset()
Reset the function.
double get_sigma() const
Return the sigma.
virtual void initialize(const datatools::properties &config_, const unary_function_dict_type &functors_)
Initialization from a container of parameters and a dictionary of functors.
double _eval(double x_) const
Evaluation.
void set_sigma(double sigma_)
Set the sigma.
double get_amplitude() const
Return the amplitude.
Abstract interface for unary functions : R -> R.
Definition: i_unary_function.h:44
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_mu(double mu_)
Set the center.
Top-level namespace of the Bayeux/mygsl module library.
Definition: base_decay_driver.h:47
bool has_amplitude() const
Check if amplitude is forced.
void _set_defaults()
Set default attributes values.
virtual bool is_initialized() const
Check initialization status.
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
void set_amplitude(double amplitude_)
Set the amplitude.
void reset_amplitude()
Reset the amplitude.
gaussian_function()
Default constructor.
double get_mu() const
Return the mu.