CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Number.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_Utilities_Number_h
2 #define PhysicsTools_Utilities_Number_h
3 
4 namespace funct {
5 
6  struct Number {
7  Number(double value) : value_(value) { }
8  double operator()(double x) const { return value_; }
9  private:
10  double value_;
11  };
12 
13 }
14 
15 #endif
static const bool value
Definition: Factorize.h:107
double value_
Definition: Number.h:10
Number(double value)
Definition: Number.h:7
double operator()(double x) const
Definition: Number.h:8