delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/11/29/10:32:01

Date: Mon, 29 Nov 1993 09:27:15 -0500 (EST)
From: Edwin L Phillips Jr <flaregun AT strauss DOT udel DOT edu>
Subject: Re: Help: Random Numbers Generator (c++)
To: Massimiliano Mazzacurati <madmax AT prix1 DOT fis DOT unipr DOT it>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019