tions-55" class="section level3" number="23.1.4">
<h3><span class="header-section-number">23.1.4</span> Stan Functions</h3>
<!-- real; dirichlet_lpdf; (vector theta | vector alpha); -->
<p></p>
<p><code>real</code> <strong><code>dirichlet_lpdf</code></strong><code>(vector theta | vector alpha)</code><br>
The log of the Dirichlet density for simplex theta given prior counts
(plus one) alpha</p>
<!-- real; dirichlet_lupdf; (vector theta | vector alpha); -->
<p></p>
<p><code>real</code> <strong><code>dirichlet