PHP: Random number from a normal distribution

In PHP, can I get a set of random numbers which conform to a specified mean and standard deviation?

Answers


The stats_rand_gen_normal function will do exactly this. (Assuming you mean a normal distribution.)


Need Your Help

Typical best-practice ClearCase project structure

version-control clearcase rational clearcase-ucm

During a development project, the delivered code can go between different stages different environment before it reaches the production (e.g. Development Environment for testing deployment processes,

How to load image faster in iPhone?

iphone objective-c uitableview 3g

I'm using ASIHTTPRequest to pull the JSON data from WCF. I then looping through the data and fetching image from a URL to display UITableView. This practice is extremely slow on 3G network. Is there

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.