Hello,
I want to use std::shuffle
which expects an object following this requirement:
https://en.cppreference.com/w/cpp/named_req/UniformRandomBitGenerator
Given that I am using TRandomMixMax
as the source of random numbers, is there a wrapper to provide the expected interface?
Until now the closest I came to the solution is to use ROOT::Math::MixMaxEngine
and wrap it myself, so the IntRndm()
, MaxInt()
, and MinInt()
implement respectively g()
, G::max()
, G::min()
.
Cheer,
Antoni