
17 Aug
2009
17 Aug
'09
6:05 p.m.
On 16 Aug 2009, at 06:55, er wrote:
Hi, here's something related: https://svn.boost.org/svn/boost/sandbox/statistics/random/boost/random/multi...
I think this is definitely needed in boost::random, and it seems to do much more error checking and dealing with large weights than my version does, so I will definitely change to using it once it makes it into a normal library release (and I can persuade my HPC admin to upgrade the library) I think you should rename it categorical distribution though as it only samples a single trial from the distribution. I believe the multinomial distribution gives the probability of vectors arising when n trials are performed. Thanks, Kevin Martin