Click or drag to resize
Accord.NET (logo)

UniformDiscreteDistributionInnerProbabilityMassFunction 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.8.0
Syntax
protected internal override double InnerProbabilityMassFunction(
	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 k will occur.
See Also