PYTHON stats_rand_gen_normal

is this article helpful?
|
Python replacement for PHP's stats_rand_gen_normal [ edit | history ]
import random
random.gauss(av, sd)
random.normalvariate(av, sd)

PHP stats_rand_gen_normal

PHP original manual for stats_rand_gen_normal [ show | php.net ]

stats_rand_gen_normal

(PECL stats >= 1.0.0)

stats_rand_gen_normalGenerates a single random deviate from a normal distribution with mean, av, and standard deviation, sd (sd >= 0). Method : Renames SNORM from TOMS as slightly modified by BWB to use RANF instead of SUNIF.

Description

float stats_rand_gen_normal ( float $av , float $sd )
Warning

This function is currently not documented; only its argument list is available.

Parameters

av

sd

Return Values