Welcome to Dream.In.Code
Become a PHP Expert!

Join 149,804 PHP Programmers for FREE! Get instant access to thousands of PHP experts, tutorials, code snippets, and more! There are 2,827 people online right now. Registration is fast and FREE... Join Now!




Normally distributed random numbers?

 
Closed TopicStart new topic

Normally distributed random numbers?

Spider
19 Feb, 2007 - 02:05 PM
Post #1

Arachnid
****

Joined: 10 Jul, 2002
Posts: 769


My Contributions
My problem is very simple, I want to generate a random number which is normally distributed, as opposed to linearly random.

I'm still in the process of researching solutions, so I might well come up with something on my own, but if anyone has done this before, or could direct me to functions / scripts etc. that might be useful I would very much appreciate it!

Cheers

Edit:
Yeah, I should just have googled for a bit longer, there was a nice example in the PHP manual, feel free to ignore this smile.gif

This post has been edited by Spider: 19 Feb, 2007 - 02:17 PM
User is offlineProfile CardPM
+Quote Post

Closed TopicStart new topic
Time is now: 1/8/09 07:54AM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live PHP Help!

PHP Tutorials

Reference Sheets

PHP Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month