
6 Nov
2004
6 Nov
'04
1:49 p.m.
In uniform_int.hpp: template<class Engine> result_type operator()(Engine& eng)
The paramenter is engine, not an integer. You pass the mersenne_twister rng here. I checked the header file in my system. As you pointed it out, I did not find
Thanks for your comment. the function; operator()( Engine& eng, int ). I think this is something inconsistent with the online document, http://www.boost.org/libs/random/random-distributions.html#uniform_int, which I read before using the library. Or, I still have further misunderstandings? With best regards, Masaki Nomura