3 #include "AnimaSpecialFunctionsExport.h" 9 ANIMASPECIALFUNCTIONS_EXPORT
11 const unsigned int n);
14 ANIMASPECIALFUNCTIONS_EXPORT
16 KummerMethod1(
const double &x,
const double &a,
const double &b,
17 const unsigned int maxIter = 1000,
const double tol = 1.0e-8);
20 ANIMASPECIALFUNCTIONS_EXPORT
22 KummerMethod2(
const double &x,
const double &a,
const double &b,
23 const unsigned int maxIter = 1000,
const double tol = 1.0e-8);
26 ANIMASPECIALFUNCTIONS_EXPORT
31 ANIMASPECIALFUNCTIONS_EXPORT
34 const unsigned int maxIter = 1000,
const double tol = 1.0e-8);
37 ANIMASPECIALFUNCTIONS_EXPORT
40 const unsigned int maxIter = 1000,
const double tol = 1.0e-8);
52 double tModified = t - (m_XValue > 0.0);
53 return std::exp(m_XValue * tModified) * std::pow(t, m_AValue - 1.0) * std::pow(1.0 - t, m_BValue - m_AValue - 1.0);
57 double m_XValue, m_AValue, m_BValue;
double operator()(const double t)
void SetBValue(double val)
double GetScaledKummerFunctionValue(const double &x, const double &a, const double &b, const unsigned int maxIter, const double tol)
Computes the confluent hypergeometric function 1F1 also known as the Kummer function M...
double KummerIntegrandMethod(const double &x, const double &a, const double &b)
According to Muller, K. E. (2001) ‘Computing the confluent hypergeometric function, M (a, b, x)’, Numerische Mathematik, pp. 179–196. Method with integral if b > a > 0.
double PochHammer(const double &x, const unsigned int n)
double KummerMethod1(const double &x, const double &a, const double &b, const unsigned int maxIter, const double tol)
According to Muller, K. E. (2001) ‘Computing the confluent hypergeometric function, M (a, b, x)’, Numerische Mathematik, pp. 179–196. Method 1.C, p.5.
void SetAValue(double val)
double KummerMethod2(const double &x, const double &a, const double &b, const unsigned int maxIter, const double tol)
According to Muller, K. E. (2001) ‘Computing the confluent hypergeometric function, M (a, b, x)’, Numerische Mathematik, pp. 179–196. Method 2, p.6.
double GetKummerFunctionValue(const double &x, const double &a, const double &b, const unsigned int maxIter, const double tol)
Computes the confluent hypergeometric function 1F1 also known as the Kummer function M...
void SetXValue(double val)