CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

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
13 namespace Genfun {
14 
19  class LogGamma : public AbsFunction {
20 
22 
23  public:
24 
25  // Constructor
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
#define FUNCTION_OBJECT_DEF(classname)
LogGamma(const LogGamma &right)
virtual double operator()(double argument) const
Definition: LogGamma.cc:28
virtual ~LogGamma()
@ a