Dirichlet Distribution.Log Probability Density Function Method
Returns the natural logarithm of the density on the open simplex.
Definition
Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
The log density, negative infinity outside the open simplex, or NaN when an evaluated coordinate is NaN.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
public override double LogProbabilityDensityFunction(
Vector<double> x
)Parameters
- x Vector<Double>
- A full point, or a point with its last coordinate omitted and inferred as one minus the supplied coordinates' sum.
Return Value
DoubleThe log density, negative infinity outside the open simplex, or NaN when an evaluated coordinate is NaN.
Remarks
Zero and unit coordinates use the outside-support convention;
singular boundary limits are not evaluated. Full points must sum to one
within the simplex tolerance.
Exceptions
| Argument | x is null. |
| Dimension | The point has neither supported length. |