Skip to content

Commit

Permalink
Add replace functions section title
Browse files Browse the repository at this point in the history
  • Loading branch information
zanmato1984 committed Oct 4, 2024
1 parent 6faac5f commit 81e4c18
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/source/cpp/compute.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1851,6 +1851,9 @@ Structural transforms
index *n* and the type code at index *n* is 2.
* The indices ``2`` and ``7`` are invalid.

Replace functions
~~~~~~~~~~~~~~~~~

These functions create a copy of the first input with some elements
replaced, based on the remaining inputs.

Expand All @@ -1872,7 +1875,7 @@ replaced, based on the remaining inputs.
Also see: :ref:`if_else <cpp-compute-scalar-selections>`.

Pairwise functions
~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~
Pairwise functions are unary vector functions that perform a binary operation on
a pair of elements in the input array, typically on adjacent elements. The n-th
output is computed by applying the binary operation to the n-th and (n-p)-th inputs,
Expand Down

0 comments on commit 81e4c18

Please sign in to comment.