ROOT
6.07/01
Reference Guide
|
Double precision (48 bits) version of Second generation of Ranlux generator with luxury level of 2 (It throws away 397 value for every 12 used) see here
Definition at line 359 of file GSLRndmEngines.h.
Public Types | |
typedef GSLRandomEngine | BaseType |
Public Member Functions | |
GSLRngRanLuxD2 () | |
Public Member Functions inherited from ROOT::Math::GSLRandomEngine | |
GSLRandomEngine () | |
default constructor. More... | |
GSLRandomEngine (GSLRngWrapper *rng) | |
create from an existing rng. More... | |
GSLRandomEngine (const GSLRandomEngine &eng) | |
Copy constructor : clone the contained GSL generator. More... | |
GSLRandomEngine & | operator= (const GSLRandomEngine &eng) |
Assignment operator : make a deep copy of the contained GSL generator. More... | |
void | Initialize () |
initialize the generator If no rng is present the default one based on Mersenne and Twister is created More... | |
void | Terminate () |
delete pointer to contained rng More... | |
virtual | ~GSLRandomEngine () |
call Terminate() More... | |
double | operator() () const |
Generate a random number between ]0,1] 0 is excluded and 1 is included. More... | |
double | Rndm () const |
Generate a random number between ]0,1] 0 is excluded and 1 is included. More... | |
unsigned int | RndmInt (unsigned int max) const |
Generate an integer number between [0,max-1] (including 0 and max-1) if max is larger than available range of algorithm an error message is printed and zero is returned. More... | |
template<class Iterator > | |
void | RandomArray (Iterator begin, Iterator end) const |
Generate an array of random numbers. More... | |
void | RandomArray (double *begin, double *end) const |
Generate an array of random numbers The iterators points to the random numbers. More... | |
std::string | Name () const |
return name of generator More... | |
unsigned int | Size () const |
return the state size of generator More... | |
void | SetSeed (unsigned int seed) const |
set the random generator seed More... | |
double | Gaussian (double sigma) const |
Gaussian distribution - default method is Box-Muller (polar method) More... | |
double | GaussianZig (double sigma) const |
Gaussian distribution - Ziggurat method. More... | |
double | GaussianRatio (double sigma) const |
Gaussian distribution - Ratio method. More... | |
double | GaussianTail (double a, double sigma) const |
Gaussian Tail distribution. More... | |
void | Gaussian2D (double sigmaX, double sigmaY, double rho, double &x, double &y) const |
Bivariate Gaussian distribution with correlation. More... | |
double | Exponential (double mu) const |
Exponential distribution. More... | |
double | Cauchy (double a) const |
Cauchy distribution. More... | |
double | Landau () const |
Landau distribution. More... | |
double | Gamma (double a, double b) const |
Gamma distribution. More... | |
double | LogNormal (double zeta, double sigma) const |
Log Normal distribution. More... | |
double | ChiSquare (double nu) const |
Chi square distribution. More... | |
double | FDist (double nu1, double nu2) const |
F distrbution. More... | |
double | tDist (double nu) const |
t student distribution More... | |
void | Dir2D (double &x, double &y) const |
generate random numbers in a 2D circle of radious 1 More... | |
void | Dir3D (double &x, double &y, double &z) const |
generate random numbers in a 3D sphere of radious 1 More... | |
unsigned int | Poisson (double mu) const |
Poisson distribution. More... | |
unsigned int | Binomial (double p, unsigned int n) const |
Binomial distribution. More... | |
unsigned int | NegativeBinomial (double p, double n) const |
Negative Binomial distribution. More... | |
std::vector< unsigned int > | Multinomial (unsigned int ntot, const std::vector< double > &p) const |
Multinomial distribution. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from ROOT::Math::GSLRandomEngine | |
void | SetType (GSLRngWrapper *r) |
internal method used by the derived class to set the type of generators More... | |
#include <Math/GSLRndmEngines.h>
Definition at line 361 of file GSLRndmEngines.h.
ROOT::Math::GSLRngRanLuxD2::GSLRngRanLuxD2 | ( | ) |
Definition at line 343 of file GSLRndmEngines.cxx.