| Modifier and Type | Field and Description |
|---|---|
| public static final double | DEFAULT_INVERSE_ABSOLUTE_ACCURACY
Default inverse cumulative probability accuracy. |
| private final double | inverseAbsoluteAccuracy
Inverse cumulative probability accuracy. |
| private final double | mu
The shape parameter. |
| private final double | omega
The scale parameter. |
| private static final long | serialVersionUID
Hides org. |
| Access | Constructor and Description |
|---|---|
| public | NakagamiDistribution(double
shape parameter mu, double scale parameter (must be positive) omega)Build a new instance. |
| public | NakagamiDistribution(double
shape parameter mu, double scale parameter (must be positive) omega, double the maximum absolute error in inverse
cumulative probability estimates (defaults to inverseAbsoluteAccuracy)DEFAULT_INVERSE_ABSOLUTE_ACCURACY).Build a new instance. |
| public | NakagamiDistribution(RandomGenerator
Random number generator rng, double shape parameter mu, double scale parameter (must be positive) omega, double the maximum absolute error in inverse
cumulative probability estimates (defaults to inverseAbsoluteAccuracy)DEFAULT_INVERSE_ABSOLUTE_ACCURACY).Build a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public double | cumulativeProbability(double
the point at which the CDF is evaluated x)Implements org. For a random variable |
| public double | density(double
the point at which the PDF is evaluated x)Implements org. Returns the probability density function (PDF) of this distribution
evaluated at the specified point |
| public double | getNumericalMean()
Implements org. Use this method to get the numerical value of the mean of this distribution. |
| public double | getNumericalVariance()
Implements org. Use this method to get the numerical value of the variance of this distribution. |
| public double | |
| public double | |
| protected double | getSolverAbsoluteAccuracy()
Overrides org. Returns the solver absolute accuracy for inverse cumulative computation. |
| public double | getSupportLowerBound()
Implements org. Access the lower bound of the support. |
| public double | getSupportUpperBound()
Implements org. Access the upper bound of the support. |
| public boolean | isSupportConnected()
Implements org. Use this method to get information about whether the support is connected, i.e. whether all values between the lower and upper bound of the support are included in the support. |
| public boolean | isSupportLowerBoundInclusive()
Implements org. Whether or not the lower bound of support is in the domain of the density function. |
| public boolean | isSupportUpperBoundInclusive()
Implements org. Whether or not the upper bound of support is in the domain of the density function. |
| DEFAULT_INVERSE_ABSOLUTE_ACCURACY | back to summary |
|---|---|
| public static final double DEFAULT_INVERSE_ABSOLUTE_ACCURACY Default inverse cumulative probability accuracy. | |
| inverseAbsoluteAccuracy | back to summary |
|---|---|
| private final double inverseAbsoluteAccuracy Inverse cumulative probability accuracy. | |
| mu | back to summary |
|---|---|
| private final double mu The shape parameter. | |
| omega | back to summary |
|---|---|
| private final double omega The scale parameter. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. Serializable version identifier. | |
| NakagamiDistribution | back to summary |
|---|---|
| public NakagamiDistribution(double mu, double omega) Build a new instance. Note this constructor will implicitly create an instance of
| |
| NakagamiDistribution | back to summary |
|---|---|
| public NakagamiDistribution(double mu, double omega, double inverseAbsoluteAccuracy) Build a new instance. Note this constructor will implicitly create an instance of
| |
| NakagamiDistribution | back to summary |
|---|---|
| public NakagamiDistribution(RandomGenerator rng, double mu, double omega, double inverseAbsoluteAccuracy) Build a new instance.
| |
| cumulativeProbability | back to summary |
|---|---|
| public double cumulativeProbability(double x) Implements org. Doc from org. For a random variable
| |
| density | back to summary |
|---|---|
| public double density(double x) Implements org. Doc from org. Returns the probability density function (PDF) of this distribution
evaluated at the specified point
| |
| getNumericalMean | back to summary |
|---|---|
| public double getNumericalMean() Implements org. Doc from org. Use this method to get the numerical value of the mean of this distribution.
| |
| getNumericalVariance | back to summary |
|---|---|
| public double getNumericalVariance() Implements org. Doc from org. Use this method to get the numerical value of the variance of this distribution.
| |
| getScale | back to summary |
|---|---|
| public double getScale() Access the scale parameter,
| |
| getShape | back to summary |
|---|---|
| public double getShape() Access the shape parameter,
| |
| getSolverAbsoluteAccuracy | back to summary |
|---|---|
| protected double getSolverAbsoluteAccuracy() Overrides org. Doc from org. Returns the solver absolute accuracy for inverse cumulative computation. You can override this method in order to use a Brent solver with an absolute accuracy different from the default.
| |
| getSupportLowerBound | back to summary |
|---|---|
| public double getSupportLowerBound() Implements org. Doc from org. Access the lower bound of the support. This method must return the same
value as
| |
| getSupportUpperBound | back to summary |
|---|---|
| public double getSupportUpperBound() Implements org. Doc from org. Access the upper bound of the support. This method must return the same
value as
| |
| isSupportConnected | back to summary |
|---|---|
| public boolean isSupportConnected() Implements org. Doc from org. Use this method to get information about whether the support is connected, i.e. whether all values between the lower and upper bound of the support are included in the support.
| |
| isSupportLowerBoundInclusive | back to summary |
|---|---|
| public boolean isSupportLowerBoundInclusive() Implements org. Doc from org. Whether or not the lower bound of support is in the domain of the density
function. Returns true iff
| |
| isSupportUpperBoundInclusive | back to summary |
|---|---|
| public boolean isSupportUpperBoundInclusive() Implements org. Doc from org. Whether or not the upper bound of support is in the domain of the density
function. Returns true iff
| |