triqs::mc_tools::random_generator::operator()
#include <triqs/mc_tools/random_generator.hpp>
Synopsis
template<typename T>typename std::enable_if<std::is_integral<T>::value, T>::type operator() (T i) double operator() (double x) double operator() (double a, double b)
Documentation
1) Returns a integer in [0,i-1] with flat distribution
2) Returns a double in [0,x[ with flat distribution
3) Returns a double in [a,b[ with flat distribution