1 #ifndef GammaNumericalGenerator_H 2 #define GammaNumericalGenerator_H 39 virtual double function(
double x) {
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.
virtual ~GammaNumericalGenerator()
Default destructor.
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
double gamma_lin(RandomEngineAndDistribution const *random) const
double ersatzt(double x)
Gamma Function.
Power< A, B >::type pow(const A &a, const B &b)