public class NakagamiDistribution extends java.lang.Object implements IDistribution
| Constructor and Description |
|---|
NakagamiDistribution(double shape,
double spread)
Initializes a new instance of the NakagamiDistribution 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 |
getShape() |
double |
getSpread() |
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 NakagamiDistribution(double shape,
double spread)
shape - The shape parameter μ.spread - The spread parameter ω.public double getShape()
public double getSpread()
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.