Provides generation of cauchy distributed random numbers.
The implementation of the CauchyDistribution type bases upon information presented on Wikipedia - Cauchy distribution and Xycoon - Cauchy Distribution.
Constructor | Description | ||
Full Usage:
CauchyDistribution()
|
Initializes a new instance of the CauchyDistribution class, using a StandardGenerator as underlying random number generator. |
||
|
Initializes a new instance of the CauchyDistribution class, using the specified Generator as underlying random number generator.
|
||
Full Usage:
CauchyDistribution(alpha, gamma)
Parameters:
float
-
First parameter of the distribution.
gamma : float
-
Second parameter of the distribution.
|
Initializes a new instance of the CauchyDistribution class, using the default random number generator.
|
||
|
Initializes a new instance of the CauchyDistribution class, using the specified Generator as underlying random number generator.
|
Instance member | Description |
Full Usage:
this.Alpha
|
Gets or sets the parameter alpha (location parameter - designates the median) of cauchy distributed random numbers which is used for their generation. Call CauchyDistribution.IsValidAlpha to determine whether a value is valid and therefor assignable. |
Full Usage:
this.CDF
Parameters:
float
Returns: float
Modifiers: abstract |
|
Full Usage:
this.Gamma
|
Gets or sets the parameter gamma (scale parameter - designates half with at half maximum) which is used for generation of cauchy distributed random numbers. Call CauchyDistribution.IsValidGamma to determine whether a value is valid and therefor assignable. |
Full Usage:
this.Initialize
Parameters:
float
gamma : float
|
|
Full Usage:
this.IsValidAlpha
Parameters:
float
-
The value to check.
Returns: bool
.
|
|
Full Usage:
this.IsValidGamma
Parameters:
float
-
The value to check.
Returns: bool
if value is greater than 0.0; otherwise, .
|
|
Full Usage:
this.Maximum
Returns: float
Modifiers: abstract |
Gets the maximum possible value of cauchy distributed random numbers.
|
Full Usage:
this.Mean
Returns: float
Modifiers: abstract |
Gets the mean value of cauchy distributed random numbers. It's undefined, so the return value is Double.NaN.
|
Full Usage:
this.Median
Returns: float
Modifiers: abstract |
Gets the median of cauchy distributed random numbers.
|
Full Usage:
this.Minimum
Returns: float
Modifiers: abstract |
Gets the minimum possible value of cauchy distributed random numbers.
|
Full Usage:
this.Mode
Returns: float[]
Modifiers: abstract |
Gets the mode of cauchy distributed random numbers.
|
Full Usage:
this.NextDouble
Returns: float
A cauchy distributed double-precision floating point number.
Modifiers: abstract |
Returns a cauchy 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 cauchy distributed random numbers.
|
Static member | Description |
Full Usage:
CauchyDistribution.CDF(x, a, b)
Parameters:
float
a : float
b : float
Returns: float
|
|
Full Usage:
CauchyDistribution.PDF(x, a, b)
Parameters:
float
a : float
b : float
Returns: float
|
|
Full Usage:
CauchyDistribution.Quantile(p, a, b)
Parameters:
float
a : float
b : float
Returns: float
|
|