DiscreteDistribution<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.0
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