CLHEP
2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
LogGamma.hh
Go to the documentation of this file.
1
// -*- C++ -*-
2
// $Id: LogGamma.hh,v 1.3 2010/06/16 18:22:01 garren Exp $
3
//---------------------Logarithm of Gamma Function--------------------------//
4
// //
5
// Class LogGamma //
6
// Joe Boudreau October 2K //
7
// //
8
//--------------------------------------------------------------------------//
9
#ifndef LogGamma_h
10
#define LogGamma_h 1
11
#include "CLHEP/GenericFunctions/AbsFunction.hh"
12
#include "CLHEP/GenericFunctions/Parameter.hh"
13
namespace
Genfun
{
14
15
/**
16
* @author
17
* @ingroup genfun
18
*/
19
class
LogGamma
:
public
AbsFunction
{
20
21
FUNCTION_OBJECT_DEF
(
LogGamma
)
22
23
public
:
24
25
// Constructor
26
LogGamma
();
27
28
// Copy constructor
29
LogGamma
(
const
LogGamma
&right);
30
31
// Destructor
32
virtual
~LogGamma
();
33
34
// Retreive function value
35
virtual
double
operator ()
(
double
argument)
const override
;
36
virtual
double
operator ()
(
const
Argument
& a)
const override
{
return
operator()
(a[0]);}
37
38
private
:
39
40
// It is illegal to assign an adjustable constant
41
const
LogGamma
& operator=(
const
LogGamma
&right);
42
43
// Constants used in evaluating the function call:
44
static
const
double
_coefficient[6];
45
46
};
47
}
// namespace Genfun
48
#endif
FUNCTION_OBJECT_DEF
#define FUNCTION_OBJECT_DEF(classname)
Definition:
AbsFunction.hh:143
Genfun::AbsFunction
Definition:
AbsFunction.hh:48
Genfun::Argument
Definition:
Argument.hh:17
Genfun::LogGamma
Definition:
LogGamma.hh:19
Genfun::LogGamma::operator()
virtual double operator()(double argument) const override
Definition:
LogGamma.cc:28
Genfun::LogGamma::~LogGamma
virtual ~LogGamma()
Definition:
LogGamma.cc:25
Genfun::LogGamma::LogGamma
LogGamma()
Definition:
LogGamma.cc:19
Genfun
Definition:
Abs.hh:14
CLHEP-CLHEP_2_4_6_4
GenericFunctions
GenericFunctions
LogGamma.hh
Generated by
1.9.6