Click or drag to resize
Accord.NET (logo)

IDistributionProbabilityFunction Method

Gets the probability density function (pdf) for this distribution evaluated at point x.

Namespace:  Accord.Statistics.Distributions
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
double ProbabilityFunction(
	params double[] x
)
Request Example View Source

Parameters

x
Type: SystemDouble
A single point in the distribution range. For a univariate distribution, this should be a single double value. For a multivariate distribution, this should be a double array.

Return Value

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