Path: utzoo!utgpu!water!watmath!clyde!rutgers!cmcl2!brl-adm!adm!PEPRBV%CFAAMP.BITNET@husc6.harvard.EDU From: PEPRBV%CFAAMP.BITNET@husc6.harvard.EDU (Bob Babcock) Newsgroups: comp.lang.c Subject: Re: random number generator Message-ID: <11809@brl-adm.ARPA> Date: 14 Feb 88 09:52:04 GMT Sender: news@brl-adm.ARPA Lines: 7 >I need a random number generator with a Gaussian distribution. It >should have a settable standard deviation. I would prefer it >written in C but any language would be appreciated. Thanks Check out Knuth's Seminumerical Algorithms book, section 3.4.1. Several methods are given, in a form that could easily be converted to code.