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