Universal Non Uniform Random number generator for generating non uniform pseudo-random numbers.
UNU.RAN, (Universal Non Uniform Random number generator for generating non uniform pseudo-random numbers) is an ANSI C library licensed under GPL.
It contains universal (also called automatic or black-box) algorithms that can generate random numbers from large classes of continuous or discrete distributions, and also from practically all standard distributions. An extensive online documentation are available at the (UNU.RAN Web Site)[http://statistik.wu-wien.ac.at/unuran/]
New classes have been introduced to use the UNU.RAN C library from ROOT and C++ from ROOT and using C++ objects. To use UNU.RAN one needs always an instance of the class TUnuran. It can then be used in two distinct ways:
Some of this information is required depending on the chosen UNURAN generation method.
(x0,y0,...),(x1,y1,....)
.Functionality is also provided via the C++ classes for using a different random number generator by passing a TRandom pointer when constructing the TUnuran class (by default the ROOT gRandom is passed to UNURAN).
The (UNU.RAN documentation)[http://statistik.wu-wien.ac.at/unuran/doc/unuran.html#Top] provides a detailed description of all the available methods and the possible options which one can pass to UNU.RAN for the various distributions.
Classes | |
class | TUnuran |
TUnuran class. More... | |
class | TUnuranBaseDist |
TUnuranBaseDist, base class for Unuran distribution classes such as TUnuranContDist (for one-dimension) or TUnuranMultiContDist (multi-dimension) More... | |
class | TUnuranContDist |
TUnuranContDist class describing one dimensional continuous distribution. More... | |
class | TUnuranDiscrDist |
TUnuranDiscrDist class for one dimensional discrete distribution. More... | |
class | TUnuranEmpDist |
TUnuranEmpDist class for describing empirical distributions. More... | |
class | TUnuranMultiContDist |
TUnuranMultiContDist class describing multi dimensional continuous distributions. More... | |
class | TUnuranSampler |
TUnuranSampler class class implementing the ROOT::Math::DistSampler interface using the UNU.RAN package for sampling distributions. More... | |