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