Discrete Distribution<T>.Probability Method
Returns the probability of obtaining a specific item
in the distribution.
Definition
Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
The probability of obtaining the specified value.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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.