hej is hosted by Hepforge, IPPP Durham
HEJ 2 2.0
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
HEJ::RNG Struct Referenceabstract

Interface for random number generator. More...

#include <RNG.hh>

Inheritance diagram for HEJ::RNG:

Public Member Functions

virtual double flat ()=0
 Generate random number in (0,1]. More...
 
virtual unsigned min () const =0
 Minimum number that can be generated. More...
 
virtual unsigned max () const =0
 Maximum number that can be generated. More...
 
virtual unsigned operator() ()=0
 Generate random number in [min(), max()]. More...
 
virtual ~RNG ()=default
 

Detailed Description

Interface for random number generator.

Constructor & Destructor Documentation

◆ ~RNG()

virtual HEJ::RNG::~RNG ( )
virtualdefault

Member Function Documentation

◆ flat()

virtual double HEJ::RNG::flat ( )
pure virtual

Generate random number in (0,1].

Implemented in HEJ::Mixmax, and HEJ::Ranlux64.

◆ max()

virtual unsigned HEJ::RNG::max ( ) const
pure virtual

Maximum number that can be generated.

Implemented in HEJ::DefaultRNG.

◆ min()

virtual unsigned HEJ::RNG::min ( ) const
pure virtual

Minimum number that can be generated.

Implemented in HEJ::DefaultRNG.

◆ operator()()

virtual unsigned HEJ::RNG::operator() ( )
pure virtual

Generate random number in [min(), max()].

Implemented in HEJ::DefaultRNG.


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