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