28 #include <queso/RngBase.h> 
   29 #include <gsl/gsl_rng.h> 
   93   double   betaSample    (
double alpha, 
double beta) 
const;
 
  103   const gsl_rng* 
rng           () 
const;
 
  116 #endif // UQ_RNG_GSL_H 
double uniformSample() const 
Samples a value from a uniform distribution. Support: [0,1] or [a,b]. 
 
double gammaSample(double a, double b) const 
Samples a value from a Gamma distribution. Support: [0,infinity). 
 
gsl_rng * m_rng
GSL random number generator. 
 
double gaussianSample(double stdDev) const 
 
void resetSeed(int newSeed)
Resets the seed with value newSeed. 
 
int seed() const 
Sets the seed. 
 
const gsl_rng * rng() const 
GSL random number generator. 
 
Class for random number generation (base class for either GSL or Boost RNG). 
 
RngGsl()
Default Constructor: it should not be used. 
 
double betaSample(double alpha, double beta) const 
Samples a value from a Beta distribution. Support: [0,1]. 
 
unsigned long int gsl_rng_default_seed