"page-inner">

            <section class="normal" id="section-">

<div>
This is an old version, <a href="https://mc-stan.org/docs/functions-reference/matrix_operations.html#reductions">view current version</a>.
</div>
<div id="array-reductions" class="section level2">
<h2 number="4.1"><span class="header-section-number">4.1</span> Reductions</h2>
<p>The following operations take arrays as input and produce single
output values. The boundary values for size 0 arrays are the unit
with respect to the combinat