20 Jul
2010
20 Jul
'10
1:43 p.m.
Dear Steven,
template<typename Engine> result_type operator()(Engine & eng, result_type n) ;
Do I understand it correctly that this generates a number in [min, n] (probably subject to some good conditions)?
No. It generates a number in [0, n).
Are you sure it's [0, n) rather than [0, n] -- the usual practice of Boost.Random? And, who should I remind to add the descriptions for this operator ()? Cheers, --Hossein