STK++ 1.0
STK_Funct_gammaRatio.cpp File Reference

In this file we implement functions around the gamma function ratio. More...

#include "../include/STK_Funct_gammaRatio.h"
#include "../include/STK_ISerie.h"
#include "../include/STK_Algo.h"
#include "../include/STK_Funct_gamma.h"
#include "../include/STK_Funct_util.h"
#include "../include/STK_Funct_raw.h"
Include dependency graph for STK_Funct_gammaRatio.cpp:

Go to the source code of this file.

Namespaces

namespace  STK
 

STK means the Statistical ToolKit.


namespace  STK::Funct
 

The namespace Funct enclose all usual and special functions.


Functions

static Real STK::Funct::apois (Real const &a, Real const &b)
 Compute the poisson density up to a factor.
static Real STK::Funct::gammaRatio_dl (Real const &a, Real const &x, const bool &lower_tail)
 Compute the incomplete gamma function ratio Q(a,x) using the Taylor serie development representation

\[ Q(a, x) = 1- \frac{x^a}{\Gamma(a+1)} - \frac{x^a}{\Gamma(a)} \sum_{n=1}^\infty (-1)^n\frac{x^n}{(a+n)n!} \]

.

static Real STK::Funct::gammaRatio_cf (Real const &a, Real const &x, const bool lower_tail)
 Compute the incomplete gamma function ratio Q(a, x) using its continued fraction representation.
static Real STK::Funct::gammaRatio_sr (Real const &a, Real const &x, const bool &lower_tail)
 Compute the incomplete gamma function ratio P(a,x) using the serie development representation.
static Real STK::Funct::gammaRatio_ae (Real const &a, Real const &x, const bool &lower_tail)
 Compute the incomplete gamma function ratio Q(a,x) using its asymptotic expansion.
static Real STK::Funct::poisson_ae (Real const &a1, Real const &apd, const bool &lower_tail=true)
 Compute the incomplete gamma function ratio P(a,x) using the Poisson asymptotic expansion.
Real STK::Funct::gammaRatioQ (Real const &a, Real const &x)
 Compute the incomplete gamma function ratio Q(a,x).
Real STK::Funct::gammaRatioP (Real const &a, Real const &x)
 Compute the incomplete gamma function ratio P(a,x).
Real STK::Funct::gammaRatio (Real const &a, Real const &x, const bool &lower_tail)
 Compute the incomplete gamma functions ratio.

Detailed Description

In this file we implement functions around the gamma function ratio.

Definition in file STK_Funct_gammaRatio.cpp.