Provides generation of exponential distributed random numbers.
The implementation of the ExponentialDistribution type bases upon information presented on Wikipedia - Exponential distribution.
Return exponentially distributed random deviates according to: p (x) = lambda * exp(-lambda x) dx for x >= 0 l = 0 otherwise The probability density has mean = stdev = 1/lambda.
Constructor | Description | ||
Full Usage:
ExponentialDistribution()
|
Initializes a new instance of the ExponentialDistribution class, using a StandardGenerator as underlying random number generator. |
||
|
Initializes a new instance of the ExponentialDistribution class, using the specified Generator as underlying random number generator.
|
||
Full Usage:
ExponentialDistribution(lambda)
Parameters:
float
-
Parameter of the distibution.
|
Initializes a new instance of the ExponentialDistribution class, using the default random number generator.
|
||
|
Initializes a new instance of the ExponentialDistribution class, using the specified Generator as underlying random number generator.
|
Instance member | Description |
Full Usage:
this.CDF
Parameters:
float
Returns: float
Modifiers: abstract |
|
Full Usage:
this.Initialize
Parameters:
float
|
Updates the helper variables that store intermediate results for generation of exponential distributed random numbers.
|
Full Usage:
this.IsValidLambda
Parameters:
float
-
The value to check.
Returns: bool
if value is greater than 0.0; otherwise, .
|
|
Full Usage:
this.Lambda
|
Gets or sets the parameter lambda which is used for generation of exponential distributed random numbers. Call ExponentialDistribution.IsValidLambda to determine whether a value is valid and therefor assignable. |
Full Usage:
this.Maximum
Returns: float
Modifiers: abstract |
Gets the maximum possible value of exponential distributed random numbers.
|
Full Usage:
this.Mean
Returns: float
Modifiers: abstract |
Gets the mean value of exponential distributed random numbers.
|
Full Usage:
this.Median
Returns: float
Modifiers: abstract |
Gets the median of exponential distributed random numbers.
|
Full Usage:
this.Minimum
Returns: float
Modifiers: abstract |
Gets the minimum possible value of exponential distributed random numbers.
|
Full Usage:
this.Mode
Returns: float[]
Modifiers: abstract |
Gets the mode of exponential distributed random numbers.
|
Full Usage:
this.NextDouble
Returns: float
A exponential distributed double-precision floating point number.
Modifiers: abstract |
Returns a exponential distributed floating point random number.
|
Full Usage:
this.PDF
Parameters:
float
Returns: float
Modifiers: abstract |
|
Full Usage:
this.Quantile
Parameters:
float
Returns: float
Modifiers: abstract |
|
Full Usage:
this.Variance
Returns: float
Modifiers: abstract |
Gets the variance of exponential distributed random numbers.
|
Static member | Description |
Full Usage:
ExponentialDistribution.CDF(x, lambda)
Parameters:
float
lambda : float
Returns: float
|
|
Full Usage:
ExponentialDistribution.PDF(x, lambda)
Parameters:
float
lambda : float
Returns: float
|
|
Full Usage:
ExponentialDistribution.Quantile(p, lambda)
Parameters:
float
lambda : float
Returns: float
|
|