1 #ifndef BaseNumericalRandomGenerator_H
2 #define BaseNumericalRandomGenerator_H
52 virtual double function(
double x) = 0;
59 std::vector<double>
f;
double generate(RandomEngineAndDistribution const *) const
The random generation according to function()
double generateLin(RandomEngineAndDistribution const *) const
BaseNumericalRandomGenerator(double xmin=0., double xmax=1., int n=1000, int iter=6)
void initialize()
The initialization (numerical integarion, inversion)
double generateExp(RandomEngineAndDistribution const *) const
std::vector< double > sampling
virtual ~BaseNumericalRandomGenerator()
Default destructor.
bool setSubInterval(double x1, double x2)
To shoot in a given interval.