CLHEP VERSION Reference Documentation
CLHEP Home Page
CLHEP Documentation
CLHEP Bug Reports
Main Page
Namespaces
Classes
Files
File List
File Members
GenericFunctions
src
Abs.cc
Go to the documentation of this file.
1
// $Id:
2
// -*- C++ -*-
3
//
4
#include "
CLHEP/GenericFunctions/Abs.hh
"
5
#include <cmath>
6
7
namespace
Genfun {
8
9
FUNCTION_OBJECT_IMP
(Abs)
10
11
Abs
::
Abs
()
12
{}
13
14
Abs::Abs
(
const
Abs
& right)
15
{
16
}
17
18
Abs::~Abs
() {
19
}
20
21
double
Abs::operator()
(
double
x)
const
{
22
return
std::abs(x);
23
}
24
25
}
26
Generated on Sun Jun 17 2012 08:08:26 for CLHEP by
1.8.1.1