CLHEP VERSION Reference Documentation
CLHEP Home Page
CLHEP Documentation
CLHEP Bug Reports
Main Page
Namespaces
Classes
Files
File List
File Members
GenericFunctions
src
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>
7
using namespace
std;
8
9
namespace
Genfun {
10
FUNCTION_OBJECT_IMP
(Gamma)
11
12
13
Gamma
::
Gamma
()
14
15
{}
16
17
Gamma::Gamma(
const
Gamma
& right) :
AbsFunction
(right)
18
{
19
}
20
21
Gamma::~Gamma
() {
22
}
23
24
double
Gamma::operator()
(
double
x)
const
{
25
return
exp(_logGamma(x));
26
27
}
28
29
30
31
32
}
// namespace Genfun
Genfun::Gamma::operator()
virtual double operator()(double argument) const
Definition:
Gamma.cc:24
Genfun::AbsFunction
Definition:
CLHEP/GenericFunctions/AbsFunction.hh:48
Genfun::Gamma::~Gamma
virtual ~Gamma()
Definition:
Gamma.cc:21
Gamma.hh
Genfun::Gamma
Definition:
CLHEP/GenericFunctions/Gamma.hh:20
FUNCTION_OBJECT_IMP
#define FUNCTION_OBJECT_IMP(classname)
Definition:
CLHEP/GenericFunctions/AbsFunction.hh:156
Generated on Sat Apr 26 2014 20:36:36 for CLHEP by
1.8.6