aria-hidden="true" tabindex="-1"></a>y ~ normal(alpha[ii] + rows_dot_product(beta[ii], x), sigma);</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<p>This latter version is faster than the loop version; it is equivalent in speed to the clunky assignment to a local variable.</p>
<div class="sourceCode" id="cb3"><pre class="sourceCode stan code-with-copy"><code class="sourceCode stan"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex=