PYTHIA  8.243
Public Types | Public Member Functions | Static Public Member Functions | List of all members
_Generator< T, __min, __max > Class Template Reference

Boilerplate code, from Andrzej, it is required to be compatible with std::random interfaces, see example.cpp for how to use. More...

#include <MixMax.h>

Public Types

using result_type = T
 

Public Member Functions

void seed (result_type val=1)
 
operator() ()
 

Static Public Member Functions

static constexpr T min ()
 
static constexpr T max ()
 

Detailed Description

template<typename T, T __min, T __max>
class _Generator< T, __min, __max >

Boilerplate code, from Andrzej, it is required to be compatible with std::random interfaces, see example.cpp for how to use.

The MixMax code below is included in the PYTHIA event generator by express permission from the authors. The coefficients tables in the skipMat17 array are not open source. Contact the authors for permission to use MixMax outside of PYTHIA. Note: the MixMaxRndm wrapper class for Pythia usage is found at the bottom of this file.


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