I am new to C++ and extremely surprised by the lack of accessible, common probability manipulation tools (i.e. the lack of things in Boost and the standard library). I\'ve d
Perhaps I'm misunderstanding your intention, but it seems to me what you want is simply std::discrete_distribution.
std::discrete_distribution