CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
Genfun::Gamma Class Reference

#include <Gamma.hh>

+ Inheritance diagram for Genfun::Gamma:

Public Member Functions

 Gamma ()
 
 Gamma (const Gamma &right)
 
virtual ~Gamma ()
 
virtual double operator() (double argument) const override
 
virtual double operator() (const Argument &a) const override
 
- Public Member Functions inherited from Genfun::AbsFunction
 AbsFunction ()
 
 AbsFunction (const AbsFunction &right)
 
virtual ~AbsFunction ()
 
virtual unsigned int dimensionality () const
 
virtual double operator() (double argument) const =0
 
virtual double operator() (const Argument &argument) const =0
 
virtual AbsFunctionclone () const =0
 
virtual FunctionComposition operator() (const AbsFunction &f) const
 
virtual ParameterComposition operator() (const AbsParameter &p) const
 
Derivative derivative (const Variable &v) const
 
Derivative prime () const
 
virtual bool hasAnalyticDerivative () const
 
virtual Derivative partial (unsigned int) const
 

Detailed Description

Author

Definition at line 20 of file Gamma.hh.

Constructor & Destructor Documentation

◆ Gamma() [1/2]

Genfun::Gamma::Gamma ( )

Definition at line 13 of file Gamma.cc.

15{}

◆ Gamma() [2/2]

Genfun::Gamma::Gamma ( const Gamma right)

Definition at line 17 of file Gamma.cc.

17 : AbsFunction(right)
18{
19}

◆ ~Gamma()

Genfun::Gamma::~Gamma ( )
virtual

Definition at line 21 of file Gamma.cc.

21 {
22}

Member Function Documentation

◆ operator()() [1/2]

virtual double Genfun::Gamma::operator() ( const Argument a) const
inlineoverridevirtual

Implements Genfun::AbsFunction.

Definition at line 37 of file Gamma.hh.

37{return operator() (a[0]);}
virtual double operator()(double argument) const override
Definition: Gamma.cc:24

◆ operator()() [2/2]

double Genfun::Gamma::operator() ( double  argument) const
overridevirtual

Implements Genfun::AbsFunction.

Definition at line 24 of file Gamma.cc.

24 {
25 return exp(_logGamma(x));
26
27}

Referenced by operator()().


The documentation for this class was generated from the following files: