ContinuousDistribution.LogPdf Method

Returns the natural logarithm of the probability density function of this distribution at the specified value.

Definition

Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.10.0
C#
public double LogPdf(
	double x
)

Parameters

x  Double
The value at which to evaluate the log density.

Return Value

Double
The natural logarithm of the probability density at x, with support and special-value behavior defined by LogProbabilityDensityFunction(Double).

Remarks

This is an alias for LogProbabilityDensityFunction(Double). It calls the distribution's logarithmic implementation directly, preserving finite log densities when the ordinary density underflows.

See Also