Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 1.89 KB

File metadata and controls

52 lines (40 loc) · 1.89 KB

Reduction Operators

.rst-content table.docutils { width: 100%; table-layout: fixed; } table.docutils .line-block { margin-left: 0; margin-bottom: 0; } table.docutils code.literal { color: initial; } code.docutils { background: initial; }
:cpp:func:`reduce` generic batch reduction
:cpp:func:`reduce_add` sum of each batch element
:cpp:func:`reduce_max` max of the batch elements
:cpp:func:`reduce_min` min of the batch elements
:cpp:func:`reduce_mul` product of the batch elements
:cpp:func:`haddp` horizontal sum across batches

Also see the batch_bool :ref:`xsimd-batch-bool-reducers`.


.. doxygengroup:: batch_reducers
   :project: xsimd
   :content-only: