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