00001 #ifndef PhysicsTools_Utilities_Number_h 00002 #define PhysicsTools_Utilities_Number_h 00003 00004 namespace funct { 00005 00006 struct Number { 00007 Number(double value) : value_(value) { } 00008 double operator()(double x) const { return value_; } 00009 private: 00010 double value_; 00011 }; 00012 00013 } 00014 00015 #endif