Template Struct incompleteVirialGammaRecursion

Struct Documentation

template<typename Real, int twoS, bool isPositive>
struct incompleteVirialGammaRecursion

Compute upper incomplete gamma functions for positive half-integral s values using the recursion \( \Gamma[\frac{\mathrm{twoS}}{2},x] = \Gamma[\frac{\mathrm{twoS}-2}{2},x] + x^{\frac{\mathrm{twoS}-2}{2}}e^{-x}\)

Public Static Functions

static inline std::pair<Real, Real> compute(Real x)