Functions
- This function computes the logarithm of the probability density p(\theta_1, … , \theta_K) for a Dirichlet distribution with parameters
alpha[K]
. - This function computes the probability density p(\theta_1, … , \theta_K) at
theta[K]
for a Dirichlet distribution with parametersalpha[K]
, using the formula given above.