Generates Erlang distributed random numbers.
Return Erlang distributed random deviates according to: a-1 -bx b (bx) e p (x) dx = ---------------- dx for x > 0 a,b Gamma(a) = 0 otherwise The Erlang distribution is a special case of the Gamma distribution with integer valued order a. References: see references in: W. H. Press, B. P. Flannery, S. A. Teukolsky, W. T. Vetterling, Numerical Recipies in C, Cambridge Univ. Press, 1988.
Constructor | Description |
Full Usage:
ErlangDistribution()
|
|
|
|
Full Usage:
ErlangDistribution(order, lambda)
Parameters:
int
lambda : float
|
|
Full Usage:
ErlangDistribution(order, lambda, ran)
Parameters:
int
lambda : float
ran : Generator
|
|
Instance member | Description |
Full Usage:
this.Alpha
|
Gets or sets the parameter alpha which is used for generation of erlang distributed random numbers. Call ErlangDistribution.IsValidAlpha to determine whether a value is valid and therefor assignable. |
Full Usage:
this.CDF
Parameters:
float
Returns: float
Modifiers: abstract |
|
Full Usage:
this.Initialize
Parameters:
int
lambda : float
|
|
Full Usage:
this.IsValidAlpha
Parameters:
int
-
The value to check.
Returns: bool
if value is greater than 0; otherwise, .
|
|
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 erlang distributed random numbers. Call ErlangDistribution.IsValidLambda to determine whether a value is valid and therefor assignable. |
Full Usage:
this.Location
Returns: float
|
|
Full Usage:
this.Maximum
Returns: float
Modifiers: abstract |
Gets the maximum possible value of erlang distributed random numbers.
|
Full Usage:
this.Mean
Returns: float
Modifiers: abstract |
Gets the mean value of erlang distributed random numbers.
|
Full Usage:
this.Median
Returns: float
Modifiers: abstract |
Gets the median of erlang distributed random numbers.
|
Full Usage:
this.Minimum
Returns: float
Modifiers: abstract |
Gets the minimum possible value of erlang distributed random numbers.
|
Full Usage:
this.Mode
Returns: float[]
Modifiers: abstract |
Gets the mode of erlang distributed random numbers.
|
Full Usage:
this.NextDouble
Returns: float
Modifiers: abstract |
|
Full Usage:
this.Order
Returns: int
|
|
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 erlang distributed random numbers.
|
Static member | Description |
Full Usage:
ErlangDistribution.CDF(x, A, B)
Parameters:
float
A : float
B : float
Returns: float
|
|
Full Usage:
ErlangDistribution.PDF(x, A, B)
Parameters:
float
A : float
B : float
Returns: float
|
|
Full Usage:
ErlangDistribution.Quantile(x, A, B)
Parameters:
float
A : float
B : float
Returns: float
|
|