Bayeux  3.4.1
Core Foundation library for SuperNEMO
identity_function.h
Go to the documentation of this file.
1 
3 #ifndef MYGSL_IDENTITY_FUNCTION_H
4 #define MYGSL_IDENTITY_FUNCTION_H
5 
6 // This project:
8 
9 namespace mygsl {
10 
13  : public i_unary_function
14  {
15  public:
16 
19 
21  virtual ~identity_function();
22 
23  protected:
24 
26  virtual double _eval(double x_) const;
27 
28  private:
29 
32 
33 
35 
36  };
37 
38 } // namespace mygsl
39 
40 #endif // MYGSL_IDENTITY_FUNCTION_H
41 
42 // Local Variables: --
43 // mode: c++ --
44 // c-file-style: "gnu" --
45 // tab-width: 2 --
46 // End: --
The identity function.
Definition: identity_function.h:12
#define DATATOOLS_CLONEABLE_DECLARATION(Copyable)
Definition: i_cloneable.h:113
virtual double _eval(double x_) const
Evaluation method.
Abstract interface for unary functions : R -> R.
Definition: i_unary_function.h:44
Top-level namespace of the Bayeux/mygsl module library.
Definition: base_decay_driver.h:47
#define MYGSL_UNARY_FUNCTOR_REGISTRATION_INTERFACE(UnaryFunctorClass)
Definition: i_unary_function.h:206
identity_function()
Default constructor.
virtual ~identity_function()
Destructor.