 inline">\(K \in \mathbb{N}\)</span> and <span class="math inline">\(\alpha \in (\mathbb{R}^+)^{K}\)</span>, then for <span class="math inline">\(\theta \in \text{$K$-simplex}\)</span>,</p>
<p><span class="math display">\[\begin{equation*}
\text{Dirichlet}(\theta|\alpha) =
\frac{\Gamma \! \left( \sum_{k=1}^K \alpha_k \right)}{\prod_{k=1}^K \Gamma(\alpha_k)}  \prod_{k=1}^K \theta_k^{\alpha_k -1}
\end{equation*}\]</span></p>
<p><em><strong>Warning:</strong></em> If any of the components of <span class="math i