Herwig
7.2.1
|
Container base class for a general density. More...
#include <RandomHelpers.h>
Public Member Functions | |
virtual | ~Generator () |
The destructor. | |
virtual double | lower () const =0 |
Return the lower bound of the density generated. | |
virtual double | upper () const =0 |
Return the upper bound of the density generated. | |
virtual double | value (double x) const =0 |
Return the density's value. | |
virtual double | normalization () const =0 |
Return the density's normalization. | |
virtual double | operator() (double r) const =0 |
Generate the return value according to the implemented density, given a flat random number on the unit interval. | |
Container base class for a general density.
Definition at line 83 of file RandomHelpers.h.