ContinuousDistribution.Probability Method

Returns the probability that a sample taken from the distribution lies inside the specified interval.

Definition

Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public double Probability(
	double minValue,
	double maxValue
)

Parameters

minValue  Double
The lower bound of the interval.
maxValue  Double
The upper bound of the interval.

Return Value

Double
The probability that a sample taken from the distribution lies between minValue and maxValue.

Remarks

If maxValue is less than minValue, zero is returned.

See Also