Jump to content

Statistics/Normal distribution: Difference between revisions

Added name of procedures from module "random".
(Added name of procedures from module "random".)
Line 1,793:
 
=={{header|Nim}}==
In module “random”, Nim provides two procedures named <code>gauss</code> to generate random values following normal distribution and following Gauss distribution with given mean and standard deviation.
 
Here is a way to generate random values following normal distribution from random values following uniform distribution. It uses the Basic form of the Box-Muller transform.
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.