SUNphi  1.0
TrueRandomGenerator.hpp File Reference

Generate random numbers according to the true random device. More...

#include <random>
#include <system/Mpi.hpp>
#include <utility/SingleInstance.hpp>

Go to the source code of this file.

Classes

class  SUNphi::TrueRandomGenerator
 

Variables

TrueRandomGenerator SUNphi::trueRandomGenerator
 Global true random generator.
 

Detailed Description

Generate random numbers according to the true random device.

This random generator should be used only once, to init the master random generator, when a "true" (non reproducible) random sequence is needed.

Definition in file TrueRandomGenerator.hpp.