public class RayleighDistribution extends java.lang.Object implements IDistribution
| Constructor and Description |
|---|
RayleighDistribution(double sigma)
Initializes a new instance of the RayleighDistribution class.
|
| Modifier and Type | Method and Description |
|---|---|
double |
DistributionFunction(double x)
Gets the cumulative distribution function (cdf) for this distribution evaluated at point
|
double |
Entropy()
Gets the entropy for this distribution.
|
double |
LogProbabilityDensityFunction(double x)
Gets the log-probability density function (pdf) for this distribution evaluated at point
|
double |
Mean()
Gets the mean for this distribution.
|
double |
ProbabilityDensityFunction(double x)
Gets the probability density function (pdf) for this distribution evaluated at point
|
double |
Variance()
Gets the variance for this distribution.
|
public RayleighDistribution(double sigma)
sigma - The Rayleight distribution's sigma.public double Mean()
IDistributionMean in interface IDistributionpublic double Variance()
IDistributionVariance in interface IDistributionpublic double Entropy()
IDistributionEntropy in interface IDistributionpublic double DistributionFunction(double x)
IDistributionDistributionFunction in interface IDistributionx - A single point in the distribution range.public double ProbabilityDensityFunction(double x)
IDistributionProbabilityDensityFunction in interface IDistributionx - A single point in the distribution range.public double LogProbabilityDensityFunction(double x)
IDistributionLogProbabilityDensityFunction in interface IDistributionx - A single point in the distribution range.