1 #ifndef MATH_GammaFunction_H
2 #define MATH_GammaFunction_H
7 #include <boost/math/special_functions/gamma.hpp>
49 static inline SP::MATH_GammaFunction
New() {
66 return boost::math::tgamma<tReal>(x);
73 return boost::math::tgamma<tReal>(x);
This class describes a function function.
Definition: MATH_Function.h:16
This class describes the digamma function.
Definition: MATH_GammaFunction.h:15
static tReal ComputeFunction(const tReal &x)
compute the function return gamma(x);
Definition: MATH_GammaFunction.h:72
MATH_GammaFunction(void)
create a gamma function
Definition: MATH_GammaFunction.cpp:3
virtual tReal computeFunction(const tReal &x)
compute the function return gamma(x);
Definition: MATH_GammaFunction.h:65
static SP::MATH_GammaFunction New()
create a gamma function
Definition: MATH_GammaFunction.h:49
virtual ~MATH_GammaFunction(void)
destroy an gamma funtion
Definition: MATH_GammaFunction.cpp:7
DEFINE_SPTR(MATH_GammaFunction)
#define tReal
Definition: types.h:18
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106