CLHEP
2.4.6.4
C++ Class Library for High Energy Physics
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
m
n
o
p
q
r
s
t
v
w
z
Functions
b
c
d
e
f
g
h
i
m
n
o
p
q
r
s
t
v
z
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
a
b
c
e
f
i
j
m
n
o
r
s
t
u
v
w
x
y
z
Related Functions
b
c
d
h
i
o
p
q
r
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
Variables
m
n
q
r
t
Typedefs
Enumerator
Macros
_
a
c
d
e
f
h
m
n
p
r
s
t
v
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
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>
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
FUNCTION_OBJECT_IMP
#define FUNCTION_OBJECT_IMP(classname)
Definition:
AbsFunction.hh:149
Genfun::AbsFunction
Definition:
AbsFunction.hh:48
Genfun::Gamma
Definition:
Gamma.hh:20
Genfun::Gamma::~Gamma
virtual ~Gamma()
Definition:
Gamma.cc:21
Genfun::Gamma::operator()
virtual double operator()(double argument) const override
Definition:
Gamma.cc:24
Genfun::Gamma::Gamma
Gamma()
Definition:
Gamma.cc:13
Genfun
Definition:
Abs.hh:14
CLHEP-CLHEP_2_4_6_4
GenericFunctions
src
Gamma.cc
Generated by
1.9.6