1 #ifndef MATH_BetaFunction_H
2 #define MATH_BetaFunction_H
7 #include <boost/math/special_functions/beta.hpp>
49 static inline SP::MATH_BetaFunction
New() {
72 return boost::math::beta<tReal,tReal>(a,b);
void setParameter(const tReal &a)
Definition: MATH_BetaFunction.h:56
This class describes a function function.
Definition: MATH_Function.h:16
MATH_BetaFunction(void)
create the function object
Definition: MATH_BetaFunction.cpp:3
static tReal ComputeFunction(const tReal &a, const tReal &b)
compute the function and derivatives return beta(a,b);
Definition: MATH_BetaFunction.h:71
static SP::MATH_BetaFunction New()
create a function class
Definition: MATH_BetaFunction.h:49
This class describes the beta function.
Definition: MATH_BetaFunction.h:15
DEFINE_SPTR(MATH_BetaFunction)
virtual tReal computeFunction(const tReal &x)
compute the function return beta(mA,x);
Definition: MATH_BetaFunction.cpp:12
#define tReal
Definition: types.h:18
virtual ~MATH_BetaFunction(void)
destroy an function object
Definition: MATH_BetaFunction.cpp:7
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106