dirichletPDF

The Dirichlet probability density.

double
dirichletPDF
(
X
A
)
(
X x
,
)
if (
isInputRange!X &&
isForwardRange!A
&&
is(ElementType!X : double)
&&
is(ElementType!A : double)
)

Parameters

x
Type: X

An input range of observed values. All must be between [0, 1]. They must also sum to 1, though this is not checked because small deviations from this may result due to numerical error.

alpha
Type: A

A forward range of parameters. This must have the same length as x.

Meta