Discrete Uniform Distribution.Inverse Distribution Function Method
Returns the inverse of the distribution function.
Definition
Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
The smallest integer whose cumulative probability is at least probability. At zero, the base implementation returns MinValue.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
public override int InverseDistributionFunction(
double probability
)Parameters
- probability Double
- A real number between 0 and 1.
Return Value
Int32The smallest integer whose cumulative probability is at least probability. At zero, the base implementation returns MinValue.
Exceptions
| Argument | probability is less than zero, greater than 1, or NaN. |