GoLang stats_dens_exponential

request it (186)
GoLang replacement for PHP's stats_dens_exponential [edit | history]



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

PHP stats_dens_exponential

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

stats_dens_exponential

(PECL stats >= 1.0.0)

stats_dens_exponentialProbability density function of the exponential distribution

Description

float stats_dens_exponential ( float $x , float $scale )

Returns the probability density at x, where the random variable follows the exponential distribution of which the scale is scale.

Parameters

x

The value at which the probability density is calculated

scale

The scale of the distribution

Return Values

The probability density at x or FALSE for failure.