DiscreteUniformDistribution.InverseDistributionFunction Method

Returns the inverse of the distribution function.

Definition

Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public override int InverseDistributionFunction(
	double probability
)

Parameters

probability  Double
A real number between 0 and 1.

Return Value

Int32
The value corresponding to a value of probability for the distribution function.

Exceptions

ArgumentOutOfRangeException

probability is less than zero or greater than 1.

See Also