CLHEP 2.0.4.7 Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
00001 // $Id: 00002 // -*- C++ -*- 00003 // 00004 #include "CLHEP/GenericFunctions/Abs.hh" 00005 #include <cmath> 00006 00007 namespace Genfun { 00008 00009 FUNCTION_OBJECT_IMP(Abs) 00010 00011 Abs::Abs() 00012 {} 00013 00014 Abs::Abs(const Abs & right) 00015 { 00016 } 00017 00018 Abs::~Abs() { 00019 } 00020 00021 double Abs::operator() (double x) const { 00022 return std::abs(x); 00023 } 00024 00025 } 00026