By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,227 Members | 1,258 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,227 IT Pros & Developers. It's quick & easy.

C++ random number generator

P: n/a
Pat
I am looking for a good random number generator (such as Uniform, Normal
distributions). It is better if RNG is written in C++.
Thanks.
Jul 22 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Pat wrote:
I am looking for a good random number generator (such as Uniform, Normal
distributions). It is better if RNG is written in C++.
Thanks.


Try

http://www.boost.org/libs/random/index.html
Best

Kai-Uwe Bux
Jul 22 '05 #2

P: n/a
"Pat" <Pa*@Pat.com> wrote in message news:41********@rain.i-cable.com...
I am looking for a good random number generator (such as Uniform, Normal
distributions). It is better if RNG is written in C++.
Thanks.


The boost random number library implements some of the best
http://www.boost.org/libs/random/

-:|:-
AngleWyrm
the C++ hat random container
http://home.comcast.net/~anglewyrm/hat.html
Jul 22 '05 #3

P: n/a
"Pat" <Pa*@Pat.com> wrote in message news:41********@rain.i-cable.com...
I am looking for a good random number generator (such as Uniform, Normal
distributions). It is better if RNG is written in C++.
Thanks.


Follow my sig to the UVS library.

--
Cy
http://home.rochester.rr.com/cyhome/
Jul 22 '05 #4

P: n/a
Pat
Thank you.

"Pat" <Pa*@Pat.com> bl news:41********@rain.i-cable.com g...
I am looking for a good random number generator (such as Uniform, Normal
distributions). It is better if RNG is written in C++.
Thanks.

Jul 22 '05 #5

P: n/a
Hi,
I am looking for a good random number generator (such as Uniform, Normal
distributions). It is better if RNG is written in C++.


I assume you something close to "real" random.
In this case, u should look for the crypto services at your OS's sdk.
And the best is, if u r using an Intel chipset, use its hardware rng -
http://www.google.com/search?q=intel+rng

Yakov
Jul 22 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.