21#ifndef VOTCA_XTP_KMCRANDOM_H
22#define VOTCA_XTP_KMCRANDOM_H
44 KMCRandom(std::uint64_t seed, std::uint64_t stream);
47 return (
double(
engine_() >> 11) + 1.0) * (1.0 / 9007199254740992.0);
double Normal()
standard normal (Box-Muller)
double Uniform()
uniform in (0,1]
KMCRandom(std::uint64_t seed, std::uint64_t stream)
double Exponential(double rate)
Exp(rate), i.e. -ln(u)/rate.
Index Integer(Index n)
uniform integer in [0, n)
Provides a means for comparing floating point numbers.