Herwig 7.3.0
|
Wrap around a vector of random numbers to behave as a stream of those. More...
#include <MatchboxPhasespace.h>
Public Member Functions | |
StreamingRnd () | |
Default constructor. | |
StreamingRnd (const double *newNumbers, size_t n) | |
Construct from random numbers. | |
double | operator() () |
Return next random number. | |
Public Attributes | |
const double * | numbers |
The random numbers. | |
size_t | nRnd |
The number of random numbers available. | |
Wrap around a vector of random numbers to behave as a stream of those.
Definition at line 34 of file MatchboxPhasespace.h.
|
inline |
Default constructor.
Definition at line 49 of file MatchboxPhasespace.h.
|
inlineexplicit |
Construct from random numbers.
Definition at line 55 of file MatchboxPhasespace.h.
|
inline |
Return next random number.
Definition at line 62 of file MatchboxPhasespace.h.
size_t Herwig::StreamingRnd::nRnd |
The number of random numbers available.
Definition at line 44 of file MatchboxPhasespace.h.
Referenced by operator()().
const double* Herwig::StreamingRnd::numbers |