From 3621545065d2f4e057db4180e37d2bdf6aa1ff6c Mon Sep 17 00:00:00 2001 From: Warren Weckesser Date: Wed, 23 Jul 2025 16:24:40 -0400 Subject: [PATCH] DOC: Move 'count' to the batch-bool 'Reducers' section of the docs. --- docs/source/api/reducer_index.rst | 2 ++ docs/source/api/xsimd_batch_bool.rst | 2 ++ include/xsimd/types/xsimd_api.hpp | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/source/api/reducer_index.rst b/docs/source/api/reducer_index.rst index 12e0ebf45..09f769be9 100644 --- a/docs/source/api/reducer_index.rst +++ b/docs/source/api/reducer_index.rst @@ -41,6 +41,8 @@ Reduction operators | :cpp:func:`haddp` | horizontal sum across batches | +---------------------------------------+----------------------------------------------------+ +Also see the `batch_bool` :ref:`xsimd-batch-bool-reducers`. + ---- .. doxygengroup:: batch_reducers diff --git a/docs/source/api/xsimd_batch_bool.rst b/docs/source/api/xsimd_batch_bool.rst index 38342ef21..d588740ea 100644 --- a/docs/source/api/xsimd_batch_bool.rst +++ b/docs/source/api/xsimd_batch_bool.rst @@ -20,6 +20,8 @@ Logical operators :project: xsimd :content-only: +.. _xsimd-batch-bool-reducers: + Reducers -------- diff --git a/include/xsimd/types/xsimd_api.hpp b/include/xsimd/types/xsimd_api.hpp index 5898b1011..3b080dd95 100644 --- a/include/xsimd/types/xsimd_api.hpp +++ b/include/xsimd/types/xsimd_api.hpp @@ -635,7 +635,7 @@ namespace xsimd } /** - * @ingroup batch_reducers + * @ingroup batch_bool_reducers * * Count the number of values set to true in the batch \c x * @param x boolean or batch of boolean