Generating Numbers With Certain Distribution with Boost
11 Feb
2009
11 Feb
'09
2:37 a.m.
Dear all, Is there a way to generate K numbers of integer (K = 10^6). The maximum value of the integer is 200,000 and minimum is 1. And the occurrences of this integer follows a lognormal distribution. - Gundala Viswanath
11 Feb
11 Feb
2:44 a.m.
New subject: Generating Numbers With Certain Distribution with Boost
AMDG Gundala Viswanath wrote:
Is there a way to generate K numbers of integer (K = 10^6). The maximum value of the integer is 200,000 and minimum is 1.
And the occurrences of this integer follows a lognormal distribution.
There's a floating point lognormal distribution in Boost.Random. http://www.boost.org/libs/random/random-distributions.html#lognormal_distrib... In Christ, Steven Watanabe
5755
Age (days ago)
5755
Last active (days ago)
1 comments
2 participants
participants (2)
-
Gundala Viswanath
-
Steven Watanabe