Discrete Distribution<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#
The probability of obtaining the specified value.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public double Probability(
T item
)
Parameters
- item T
- An item in the distribution.
Return Value
DoubleThe 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.