Template Class gammaComputer¶
Defined in File gamma.h
Class Documentation¶
-
template<typename Real, int twoS>
class gammaComputer¶ Computes the Gamma function. \( \Gamma[s] = \int_0^\infty t^{s-1} e^{-t} \mathrm{d}t \) In this code we only need half integral values for the \(s\) argument, so the input argument \(s\) will yield \(\Gamma[\frac{s}{2}]\).
- Template Parameters:
Real – the floating point type to use for arithmetic.
twoS – twice the s value required.