Click or drag to resize
Accord.NET (logo)

UnivariateDiscreteDistributionProbabilityMassFunction Method

Gets the probability mass function (pmf) for this distribution evaluated at point x.

Namespace:  Accord.Statistics.Distributions.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.5.0
Syntax
public abstract double ProbabilityMassFunction(
	int k
)
Request Example View Source

Parameters

k
Type: SystemInt32
A single point in the distribution range.

Return Value

Type: Double
The probability of k occurring in the current distribution.
Remarks
The Probability Mass Function (PMF) describes the probability that a given value x will occur.
See Also