diff --git a/libs/core/algorithms/include/hpx/parallel/algorithms/transform.hpp b/libs/core/algorithms/include/hpx/parallel/algorithms/transform.hpp index 0368d951b3c2..8398f653e272 100644 --- a/libs/core/algorithms/include/hpx/parallel/algorithms/transform.hpp +++ b/libs/core/algorithms/include/hpx/parallel/algorithms/transform.hpp @@ -128,9 +128,8 @@ namespace hpx { /// template - parallel::util::detail::algorithm_result_t - transform(ExPolicy&& policy, FwdIter1 first, FwdIter1 last, - FwdIter2 dest, F&& f); + parallel::util::detail::algorithm_result_t transform( + ExPolicy&& policy, FwdIter1 first, FwdIter1 last, FwdIter2 dest, F&& f); /// Applies the given function \a f to pairs of elements from two ranges: /// one defined by [first1, last1) and the other beginning at first2, and @@ -189,8 +188,8 @@ namespace hpx { /// template - FwdIter3 transform(FwdIter1 first1, FwdIter1 last1, FwdIter2 first2, - FwdIter3 dest, F&& f); + FwdIter3 transform( + FwdIter1 first1, FwdIter1 last1, FwdIter2 first2, FwdIter3 dest, F&& f); /// Applies the given function \a f to pairs of elements from two ranges: /// one defined by [first1, last1) and the other beginning at first2, and @@ -268,9 +267,9 @@ namespace hpx { /// template - parallel::util::detail::algorithm_result_t - transform(ExPolicy&& policy, FwdIter1 first1, FwdIter1 last1, - FwdIter2 first2, FwdIter3 dest, F&& f); + parallel::util::detail::algorithm_result_t transform( + ExPolicy&& policy, FwdIter1 first1, FwdIter1 last1, FwdIter2 first2, + FwdIter3 dest, F&& f); } // namespace hpx diff --git a/libs/core/algorithms/include/hpx/parallel/algorithms/transform_exclusive_scan.hpp b/libs/core/algorithms/include/hpx/parallel/algorithms/transform_exclusive_scan.hpp index 7adbb84a251f..5567bcc90134 100644 --- a/libs/core/algorithms/include/hpx/parallel/algorithms/transform_exclusive_scan.hpp +++ b/libs/core/algorithms/include/hpx/parallel/algorithms/transform_exclusive_scan.hpp @@ -27,7 +27,7 @@ namespace hpx { /// noncommutative sum GNSUM(op, a1, ..., a N) is defined as follows: /// - if N=1, a1 /// - if N > 1, op(GNSUM(op, a1, ..., aK), GNSUM(op, aM, ..., aN)) - /// for any K where 1 < K+1 = M ≤ N + /// for any K where 1 < K+1 = M <= N /// In other words, the summation operations may be performed in arbitrary /// order, and the behavior is nondeterministic if \a binary_op is not /// associative. @@ -55,7 +55,7 @@ namespace hpx { /// \param init The initial value for the generalized sum. /// \param binary_op Binary \a FunctionObject that will be applied to /// the result of \a unary_op, the results of other - /// \a binary_op, and \a init. + /// \a binary_op, and \a init. /// \param unary_op Unary \a FunctionObject that will be applied to each /// element of the input range. The return type must /// be acceptable as input to \a binary_op. @@ -123,7 +123,7 @@ namespace hpx { /// \param init The initial value for the generalized sum. /// \param binary_op Binary \a FunctionObject that will be applied in to /// the result of \a unary_op, the results of other - /// \a binary_op, and \a init. + /// \a binary_op, and \a init. /// \param unary_op Unary \a FunctionObject that will be applied to each /// element of the input range. The return type must /// be acceptable as input to \a binary_op. diff --git a/libs/core/algorithms/include/hpx/parallel/algorithms/transform_inclusive_scan.hpp b/libs/core/algorithms/include/hpx/parallel/algorithms/transform_inclusive_scan.hpp index 982c7b879fbc..1bd84cb8b19c 100644 --- a/libs/core/algorithms/include/hpx/parallel/algorithms/transform_inclusive_scan.hpp +++ b/libs/core/algorithms/include/hpx/parallel/algorithms/transform_inclusive_scan.hpp @@ -20,7 +20,7 @@ namespace hpx { /// conv(*(first + (i - result)))). /// /// \note Complexity: O(last - first) applications of each of - /// \a binary_op and \a unary_op. + /// \a binary_op and \a unary_op. /// /// \tparam InIter The type of the source iterators used (deduced). /// This iterator type must meet the requirements of an @@ -39,7 +39,7 @@ namespace hpx { /// \param dest Refers to the beginning of the destination range. /// \param binary_op Binary \a FunctionObject that will be applied in to /// the result of \a unary_op, the results of other - /// \a binary_op, and \a init if provided. + /// \a binary_op, and \a init if provided. /// \param unary_op Unary \a FunctionObject that will be applied to each /// element of the input range. The return type must /// be acceptable as input to \a binary_op. @@ -79,7 +79,7 @@ namespace hpx { /// conv(*(first + (i - result)))). Executed according to the policy. /// /// \note Complexity: O(last - first) applications of each of - /// \a binary_op and \a unary_op. + /// \a binary_op and \a unary_op. /// /// \tparam ExPolicy The type of the execution policy to use (deduced). /// It describes the manner in which the execution @@ -104,10 +104,10 @@ namespace hpx { /// \param dest Refers to the beginning of the destination range. /// \param binary_op Binary \a FunctionObject that will be applied in to /// the result of \a unary_op, the results of other - /// \a binary_op, and \a init if provided. + /// \a binary_op, and \a init if provided. /// \param unnary_op Unary \a FunctionObject that will be applied to /// each element of the input range. The return type - /// must be acceptable as input to \a binary_op. + /// must be acceptable as input to \a binary_op. /// /// The reduce operations in the parallel \a transform_inclusive_scan /// algorithm invoked with an execution policy object of type \a @@ -156,7 +156,7 @@ namespace hpx { /// conv(*(first + (i - result)))). /// /// \note Complexity: O(last - first) applications of each of - /// \a binary_op and \a unary_op. + /// \a binary_op and \a unary_op. /// /// \tparam InIter The type of the source iterators used (deduced). /// This iterator type must meet the requirements of an @@ -177,10 +177,10 @@ namespace hpx { /// \param dest Refers to the beginning of the destination range. /// \param binary_op Binary \a FunctionObject that will be applied in to /// the result of \a unary_op, the results of other - /// \a binary_op, and \a init if provided. + /// \a binary_op, and \a init if provided. /// \param unnary_op Unary \a FunctionObject that will be applied to /// each element of the input range. The return type - /// must be acceptable as input to \a binary_op. + /// must be acceptable as input to \a binary_op. /// \param init The initial value for the generalized sum. /// /// The reduce operations in the parallel \a transform_inclusive_scan @@ -220,7 +220,7 @@ namespace hpx { /// conv(*(first + (i - result)))). Executed according to the policy. /// /// \note Complexity: O(last - first) applications of each of - /// \a binary_op and \a unary_op. + /// \a binary_op and \a unary_op. /// /// \tparam ExPolicy The type of the execution policy to use (deduced). /// It describes the manner in which the execution @@ -247,10 +247,10 @@ namespace hpx { /// \param dest Refers to the beginning of the destination range. /// \param binary_op Binary \a FunctionObject that will be applied in to /// the result of \a unary_op, the results of other - /// \a binary_op, and \a init if provided. + /// \a binary_op, and \a init if provided. /// \param unnary_op Unary \a FunctionObject that will be applied to /// each element of the input range. The return type - /// must be acceptable as input to \a binary_op. + /// must be acceptable as input to \a binary_op. /// \param init The initial value for the generalized sum. /// /// The reduce operations in the parallel \a transform_inclusive_scan diff --git a/libs/core/algorithms/include/hpx/parallel/algorithms/uninitialized_move.hpp b/libs/core/algorithms/include/hpx/parallel/algorithms/uninitialized_move.hpp index 3392afdaecc1..308ce565fcd3 100644 --- a/libs/core/algorithms/include/hpx/parallel/algorithms/uninitialized_move.hpp +++ b/libs/core/algorithms/include/hpx/parallel/algorithms/uninitialized_move.hpp @@ -122,11 +122,11 @@ namespace hpx { /// first element is an iterator to the element past the last /// element moved in the source range, and whose second element /// is an iterator to the element past the last element moved - /// in the destination range. + /// in the destination range. /// template - std::pair uninitialized_move_n(InIter first, Size count, - FwdIter dest); + std::pair uninitialized_move_n( + InIter first, Size count, FwdIter dest); /// Moves the elements in the range [first, first + count), starting from /// first and proceeding to first + count - 1., to another range beginning @@ -182,12 +182,12 @@ namespace hpx { /// first element is an iterator to the element past the last /// element moved in the source range, and whose second element /// is an iterator to the element past the last element moved - /// in the destination range. + /// in the destination range. /// template typename parallel::util::detail::algorithm_result>::type + std::pair>::type uninitialized_move_n( ExPolicy&& policy, FwdIter1 first, Size count, FwdIter2 dest); } // namespace hpx