1 #ifndef BaseNumericalRandomGenerator_H 2 #define BaseNumericalRandomGenerator_H 52 virtual double function(
double x) = 0;
59 std::vector<double>
f;
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)
std::vector< double > sampling
virtual ~BaseNumericalRandomGenerator()
Default destructor.
double generateExp(RandomEngineAndDistribution const *) const
bool setSubInterval(double x1, double x2)
To shoot in a given interval.
double generate(RandomEngineAndDistribution const *) const
The random generation according to function()