herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
Herwig::StreamingRnd Struct Reference

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.
 

Detailed Description

Wrap around a vector of random numbers to behave as a stream of those.

Author
Simon Platzer

Definition at line 34 of file MatchboxPhasespace.h.


The documentation for this struct was generated from the following file: