DiscreteDistribution<T>.Probability Method

Returns the probability of obtaining a specific item in the distribution.

Definition

Namespace: Extreme.Statistics.Distributions
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public double Probability(
	T item
)

Parameters

item  T
An item in the distribution.

Return Value

Double
The probability of obtaining the specified value.

Remarks

This method represents the probability function of the distribution.

If the item is not in the set then 0 is returned.

See Also