delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/11/29/22:31:46

Date: Mon, 29 Nov 93 18:53:44 PST
From: stevev AT miser DOT uoregon DOT edu (Steve VanDevender)
To: Edwin L Phillips Jr <flaregun AT strauss DOT udel DOT edu>
Cc: Massimiliano Mazzacurati <madmax AT prix1 DOT fis DOT unipr DOT it>,
djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Help: Random Numbers Generator (c++)

Edwin L Phillips Jr writes:

 >   "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.

_Numerical Recipes in C_ was not written by Donald E. Knuth, so
you may have trouble finding it by author search.

However, Knuth's _Seminumerical Algorithms_ (vol. 2 of his _The Art
of Computer Programming_ series) also has several good
pseudorandom number generators.

- Raw text -


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