triqs::mc_tools::random_generator

#include <triqs/mc_tools.hpp>

class random_generator

Random generator, adapting the boost random generator.

The name of the generator is given at construction, and its type is erased in this class. For performance, the call to the generator is bufferized, with chunks of 1000 numbers.

Member functions

(constructor)

name

operator()

preview