ling statements or increment log probability
statements in other functions lead to a compile-time error.</p>
<p>Like the target log density increment statement and sampling
statements, user-defined functions with names that end in <code>_lp</code>
may only be used in blocks where the log probability accumulator is
accessible, namely the transformed parameters and model blocks. An
attempt to use such a function elsewhere results in a compile-time
error.</p>
</div>
<div id="defining-probability-functions-for-