Quantcast
Channel: Math.NET Numerics
Viewing all articles
Browse latest Browse all 971

New Post: Thread Safe Random Variate Generation

$
0
0
Hi,

I have an algorithm that wants to generate lots of random gamma and poissons in parrallel, I think my understanding of the code is correct but wanted to ask:

If I download the Net4.0 binaries from this site, create a mersennetwister class and pass in the threadsafe boolean, than the RNG will be robustly made as a ThreadSafe Mersenne twister, and I can pass this around as needed. Does this seem correct? (that is no obvious problems lurking?).

Thanks for any help,
N

Viewing all articles
Browse latest Browse all 971

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>