Generating Random Numbers with Normal Distribution

From: Date: Mon, 10 Dec 2007 19:28:36 +0000
Subject: Generating Random Numbers with Normal Distribution
Groups: php.general 
Request: Send a blank email to php-general+get-265615@lists.php.net to get a copy of this message
Dear list, For some computer-based simulation, i need to generate random numbers that have a normal distribution. It seems that PHP's rand() and mt_rand() functions return uniformly distributed numbers which is not suitable for simulation purposes. Is there any way to generate random numbers with normal distribution in PHP? Thanks in advance -abe

« previous php.general (#265615) next »