CLHEP VERSION Reference Documentation
CLHEP Home Page
CLHEP Documentation
CLHEP Bug Reports
Main Page
Namespaces
Classes
Files
File List
File Members
GenericFunctions
GenericFunctions
GenericFunctions/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
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;
36
virtual
double
operator ()(const
Argument
&
a
)
const
{
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
Parameter.hh
Genfun::LogGamma::operator()
virtual double operator()(double argument) const
Definition:
LogGamma.cc:28
FUNCTION_OBJECT_DEF
#define FUNCTION_OBJECT_DEF(classname)
Definition:
CLHEP/GenericFunctions/AbsFunction.hh:144
a
Definition:
testCategories.cc:125
AbsFunction.hh
Genfun::Argument
Definition:
CLHEP/GenericFunctions/Argument.hh:17
Genfun::LogGamma
Definition:
CLHEP/GenericFunctions/LogGamma.hh:19
Genfun::LogGamma::LogGamma
LogGamma()
Definition:
LogGamma.cc:19
Generated on Sat Apr 26 2014 20:36:37 for CLHEP by
1.8.6