transform_if_n
#
Overloads#
transform_if_n(exec, first, count, result, op, pred)
#
-
template<typename DerivedPolicy, typename InputIterator, typename ForwardIterator, typename UnaryFunction, typename Predicate>
ForwardIterator thrust::transform_if_n( - const detail::execution_policy_base<DerivedPolicy> &exec,
- InputIterator first,
- ::cuda::std::iter_difference_t<InputIterator> count,
- ForwardIterator result,
- UnaryFunction op,
- Predicate pred,
Like transform_if, but uses an element count instead of an iterator to the last element of the input sequence.
transform_if_n(first, count, result, op, pred)
#
-
template<typename InputIterator, typename ForwardIterator, typename UnaryFunction, typename Predicate>
ForwardIterator thrust::transform_if_n( - InputIterator first,
- ::cuda::std::iter_difference_t<InputIterator> count,
- ForwardIterator result,
- UnaryFunction op,
- Predicate pred,
Like transform_if, but uses an element count instead of an iterator to the last element of the input sequence.
transform_if_n(exec, first, count, stencil, result, op, pred)
#
-
template<typename DerivedPolicy, typename InputIterator1, typename InputIterator2, typename ForwardIterator, typename UnaryFunction, typename Predicate>
ForwardIterator thrust::transform_if_n( - const detail::execution_policy_base<DerivedPolicy> &exec,
- InputIterator1 first,
- ::cuda::std::iter_difference_t<InputIterator1> count,
- InputIterator2 stencil,
- ForwardIterator result,
- UnaryFunction op,
- Predicate pred,
Like transform_if, but uses an element count instead of an iterator to the last element of the input sequence.
transform_if_n(first, count, stencil, result, op, pred)
#
-
template<typename InputIterator1, typename InputIterator2, typename ForwardIterator, typename UnaryFunction, typename Predicate>
ForwardIterator thrust::transform_if_n( - InputIterator1 first,
- ::cuda::std::iter_difference_t<InputIterator1> count,
- InputIterator2 stencil,
- ForwardIterator result,
- UnaryFunction op,
- Predicate pred,
Like transform_if, but uses an element count instead of an iterator to the last element of the input sequence.
transform_if_n(exec, first1, count, first2, stencil, result, binary_op, pred)
#
-
template<typename DerivedPolicy, typename InputIterator1, typename InputIterator2, typename InputIterator3, typename ForwardIterator, typename BinaryFunction, typename Predicate>
ForwardIterator thrust::transform_if_n( - const detail::execution_policy_base<DerivedPolicy> &exec,
- InputIterator1 first1,
- ::cuda::std::iter_difference_t<InputIterator1> count,
- InputIterator2 first2,
- InputIterator3 stencil,
- ForwardIterator result,
- BinaryFunction binary_op,
- Predicate pred,
Like transform_if, but uses an element count instead of an iterator to the last element of the input sequence.
transform_if_n(first1, count, first2, stencil, result, binary_op, pred)
#
-
template<typename InputIterator1, typename InputIterator2, typename InputIterator3, typename ForwardIterator, typename BinaryFunction, typename Predicate>
ForwardIterator thrust::transform_if_n( - InputIterator1 first1,
- ::cuda::std::iter_difference_t<InputIterator1> count,
- InputIterator2 first2,
- InputIterator3 stencil,
- ForwardIterator result,
- BinaryFunction binary_op,
- Predicate pred,
Like transform_if, but uses an element count instead of an iterator to the last element of the input sequence.