Click or drag to resize
Accord.NET (logo)

MultivariateMixtureTLogProbabilityDensityFunction Method (Int32, Double)

Gets the log-probability density function (pdf) for one of the component distributions evaluated at point x.

Namespace:  Accord.Statistics.Distributions.Multivariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public double LogProbabilityDensityFunction(
	int componentIndex,
	params double[] x
)
Request Example View Source

Parameters

componentIndex
Type: SystemInt32
The index of the desired component distribution.
x
Type: SystemDouble
A single point in the distribution range.

Return Value

Type: Double
The logarithm of 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