Mail Archives: djgpp/1999/11/22/07:43:40
Try this link:
http://www.ulib.org/webRoot/Books/Numerical_Recipes/bookcpdf/c7-2.pdf
This is part of chapter seven of Numerical Recipes in C. A less specific link
to the whole book is:
http://www.ulib.org/webRoot/Books/Numerical_Recipes/
Chapter 7 deals with random numbers, 7.2 is about normal distributions
(including some source code).
In article <383904BA DOT AE45DCDE AT mpx DOT com DOT au>, infinity girl <entropic AT mpx DOT com DOT au>
wrote:
>
>hey everyone,
>
> i'm wondering if anyone has written {or come across} C functions
>that produce
>random numbers under a Gaussian {normal} distribution? In other
>languages they
>are usually called randn or randg.
>
> it is quite a common thing..has anyone thought about possibly
>including functions
>like this in libm?
>
>I'm really looking fr something like this in ANSI C, and not in
>a library..I need source code fr portability.
>
>thanks fr any help,
>daniel.
--
Manni
- Raw text -