1 #ifndef GammaNumericalGenerator_H
2 #define GammaNumericalGenerator_H
34 double function(
double x)
override {
return ersatzt(
x); }
double generate(RandomEngineAndDistribution const *) const
The random generation according to function()
double generateLin(RandomEngineAndDistribution const *) const
double gamma(RandomEngineAndDistribution const *random) const
Random generator.
Exp< T >::type exp(const T &t)
void initialize()
The initialization (numerical integarion, inversion)
double gamma_exp(RandomEngineAndDistribution const *random) const
GammaNumericalGenerator(double a=0, double b=0, double x1=0, double x2=0)
Constructor : initialization of the Random Generator.
double generateExp(RandomEngineAndDistribution const *) const
~GammaNumericalGenerator() override
Default destructor.
double gamma_lin(RandomEngineAndDistribution const *random) const
double ersatzt(double x)
Gamma Function.
Power< A, B >::type pow(const A &a, const B &b)