Mail Archives: djgpp/1993/11/29/10:32:01
On Thu, 25 Nov 1993, Massimiliano Mazzacurati wrote:
> If you look at file "funcs.doc" you'll find some examples about how to use some statistical random number generator functions with c++... I'm not able to define variables of type RNG (in all the examples there's the declaration .. RNG r;).
> What must I do to use these functions properly? PLEASE HELP ME!!!!
> my e-mail: madmax AT prix1 DOT fis DOT unipr DOT it
>
"Numerical Recipes in C", by Donald E. Knuth, has several "good" random
number generators, which you would probably want to use anyway for
anything serious. I had the fortran version of the book, typed it in in
less than 20 minutes. It was only about 50 lines of fortran.
Ed
/***************************************************************************/
/* Ed Phillips flaregun AT brahms DOT udel DOT edu University of Delaware */
/* Jr Systems Programmer (302) 831-6082 NSS/Software Systems */
/***************************************************************************/
- Raw text -