Skip to content

Commit

Permalink
Update docs/source/API/algorithms/std-algorithms/all/StdReplaceIf.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
JBludau authored Sep 5, 2024
1 parent 960e0ee commit e4b9b8a
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ Header: ``<Kokkos_StdAlgorithms.hpp>``
Description
-----------

Replaces with ``new_value`` all the elements for which ``pred`` is ``true`` in
the range ``[first, last)`` (overloads 1,2) or in ``view`` (overloads 3,4).
Replaces all the elements in
the range ``[first, last)`` for which ``pred`` is ``true`` with with ``new_value``.
The overload taking a ``View`` uses the ``begin`` and ``end`` iterators of the ``View``.

Interface
---------
Expand Down

0 comments on commit e4b9b8a

Please sign in to comment.