Provides generation of continuous uniformly distributed random numbers.
The implementation of the ContinuousUniformDistribution type bases upon information presented on Wikipedia - Uniform distribution (continuous).
Constructor | Description | ||
Full Usage:
ContinuousUniformDistribution()
|
Initializes a new instance of the ContinuousUniformDistribution class, using a StandardGenerator as underlying random number generator. |
||
|
Initializes a new instance of the ContinuousUniformDistribution class, using the specified Generator as underlying random number generator.
|
||
Full Usage:
ContinuousUniformDistribution(lower, upper)
Parameters:
float
upper : float
|
|
||
Full Usage:
ContinuousUniformDistribution(lower, upper, generator)
Parameters:
float
upper : float
generator : Generator
|
|
Instance member | Description |
Full Usage:
this.Alpha
Returns: float
|
Gets or sets the parameter alpha which is used for generation of uniformly distributed random numbers. Call ContinuousUniformDistribution.IsValidAlpha to determine whether a value is valid and therefor assignable.
|
Full Usage:
this.Beta
Returns: float
|
Gets or sets the parameter beta which is used for generation of uniformly distributed random numbers. Call ContinuousUniformDistribution.IsValidBeta 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:
float
upper : float
|
|
Full Usage:
this.IsValidAlpha
Parameters:
float
-
The value to check.
Returns: bool
if value is a valid number and not infinity; otherwise, .
|
|
Full Usage:
this.IsValidBeta
Parameters:
float
-
The value to check.
Returns: bool
if value is a valid number and not infinity; otherwise, .
|
|
Full Usage:
this.Maximum
Returns: float
Modifiers: abstract |
Gets the maximum possible value of uniformly distributed random numbers.
|
Full Usage:
this.Mean
Returns: float
Modifiers: abstract |
Gets the mean value of the uniformly distributed random numbers.
|
Full Usage:
this.Median
Returns: float
Modifiers: abstract |
Gets the median of uniformly distributed random numbers.
|
Full Usage:
this.Minimum
Returns: float
Modifiers: abstract |
Gets the minimum possible value of uniformly distributed random numbers.
|
Full Usage:
this.Mode
Returns: float[]
Modifiers: abstract |
Gets the mode of the uniformly distributed random numbers.
|
Full Usage:
this.NextDouble
Returns: float
A uniformly distributed double-precision floating point number.
Modifiers: abstract |
Returns a uniformly 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 uniformly distributed random numbers.
|
Static member | Description |
Full Usage:
ContinuousUniformDistribution.CDF(z, low, high)
Parameters:
float
low : float
high : float
Returns: float
|
|
Full Usage:
ContinuousUniformDistribution.PDF(z, low, high)
Parameters:
float
low : float
high : float
Returns: float
|
|
Full Usage:
ContinuousUniformDistribution.Quantile(p, low, high)
Parameters:
float
low : float
high : float
Returns: float
|
|