Function dirichletPDF
The Dirichlet probability density.
double dirichletPDF(X, A)
(
X x,
A alpha
)
if (isInputRange!X && isForwardRange!A && is(ElementType!X : double) && is(ElementType!A : double));
Parameters
Name | Description |
---|---|
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 | A forward range of parameters. This must have the same length as x. |