...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::compute::transform
// In header: <boost/compute/algorithm/transform.hpp> template<typename InputIterator, typename OutputIterator, typename UnaryOperator> OutputIterator transform(InputIterator first, InputIterator last, OutputIterator result, UnaryOperator op, command_queue & queue = system::default_queue()); template<typename InputIterator1, typename InputIterator2, typename OutputIterator, typename BinaryOperator> OutputIterator transform(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputIterator result, BinaryOperator op, command_queue & queue = system::default_queue());