GoLang stats_rand_gen_exponential

request it (104)
GoLang replacement for PHP's stats_rand_gen_exponential [edit | history]



Do you know a GoLang replacement for PHP's stats_rand_gen_exponential? Write it!

PHP stats_rand_gen_exponential

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

stats_rand_gen_exponential

(PECL stats >= 1.0.0)

stats_rand_gen_exponentialGenerates a random deviate from the exponential distribution

Description

float stats_rand_gen_exponential ( float $av )

Returns a random deviate from the exponential distribution of which the scale is av.

Parameters

av

The scale parameter

Return Values

A random deviate