CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
Abs.cc
Go to the documentation of this file.
1// $Id:
2// -*- C++ -*-
3//
4#include "CLHEP/GenericFunctions/Abs.hh"
5#include <cmath>
6
7namespace Genfun {
8
10
12{}
13
14Abs::Abs(const Abs & right) : AbsFunction(right)
15{
16}
17
19}
20
21double Abs::operator() (double x) const {
22 return std::abs(x);
23}
24
25}
26
#define FUNCTION_OBJECT_IMP(classname)
Definition: AbsFunction.hh:149
Abs()
Definition: Abs.cc:11
virtual ~Abs()
Definition: Abs.cc:18
virtual double operator()(double argument) const override
Definition: Abs.cc:21
Definition: Abs.hh:14