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