stats_rand_gen_normal

(PECL stats >= 1.0.0)

stats_rand_gen_normalGenerates a single random deviate from a normal distribution

说明

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

Returns a random deviate from the normal distribution with mean, av, and standard deviation, sd.

参数

av

The mean of the normal distribution

sd

The standard deviation of the normal distribution

返回值

A random deviate