9 for(
unsigned i=1;
i<=12;++
i)
35 if(
alpha<0.)
return -1.;
68 p = M_E / (
frac + M_E);
double gammaInt(RandomEngineAndDistribution const *) const
integer values
std::vector< GammaNumericalGenerator > theGammas
double flatShoot(double xmin=0.0, double xmax=1.0) const
double gammaFrac(RandomEngineAndDistribution const *) const
values 0<a<1.
GammaFunctionGenerator()
Constructor.
std::vector< double > approxLimit
std::vector< double > coreCoeff
Genfun::IncompleteGamma myIncompleteGamma
void setParameters(double a, double b, double xm)
The parameters must be set before shooting.
double shoot(RandomEngineAndDistribution const *) const
std::vector< std::vector< double > > tmp
virtual ~GammaFunctionGenerator()
Destructor.
std::vector< double > integralToApproxLimit