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