Any normally-distributed random number functions?

Henry Spencer henry at zoo.toronto.edu
Sat Apr 6 04:24:51 AEST 1991


In article <15714 at smoke.brl.mil> gwyn at smoke.brl.mil (Doug Gwyn) writes:
>>I am looking for a C or Fortran function that would generate a
>>pseudorandom variable but with a *normal* distribution...
>
>Gee, for all questions of this type the first thing you MUST do is
>to see what Knuth had to say about it in Vol. 2 ...

And typically the second thing you do is dig out "Numerical Recipes"
and see what it has to say.  Random Numbers is chapter 7.
-- 
"The stories one hears about putting up | Henry Spencer @ U of Toronto Zoology
SunOS 4.1.1 are all true."  -D. Harrison|  henry at zoo.toronto.edu  utzoo!henry



More information about the Comp.lang.c mailing list