Я пытаюсь использовать
Код: Выделить всё
boost::random::sobol
Suppose I wish to sample a binomial distribution. According to https://en.cppreference.com/w/cpp/numer ... stribution, I can do this:
Код: Выделить всё
#include
#include
#include
int main()
{
std::random_device rd;
std::mt19937 gen(rd()); //
Источник: [url]https://stackoverflow.com/questions/78128572/how-do-i-plug-a-boostrandom-qrng-into-a-c-standard-distribution[/url]