Herwig
7.2.1
|
Container class for a general density. More...
#include <RandomHelpers.h>
Public Member Functions | |
Generator (const Generator< Density > &gen) | |
Construct from generator. | |
virtual double | lower () const |
Return the lower bound of the density generated. | |
virtual double | upper () const |
Return the upper bound of the density generated. | |
virtual double | value (double x) const |
Return the density's value. | |
virtual double | normalization () const |
Return the density's normalization. | |
virtual double | operator() (double r) const |
Generate the return value according to the implemented density, given a flat random number on the unit interval. | |
Public Member Functions inherited from Herwig::RandomHelpers::Generator< Expression > | |
virtual | ~Generator () |
The destructor. | |
Private Attributes | |
Generator< Density > | generator |
The generator. | |
Container class for a general density.
Definition at line 132 of file RandomHelpers.h.