Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Function template scatter

boost::compute::scatter

Synopsis

// In header: <boost/compute/algorithm/scatter.hpp>


template<typename InputIterator, typename MapIterator, 
         typename OutputIterator> 
  void scatter(InputIterator first, InputIterator last, MapIterator map, 
               OutputIterator result, 
               command_queue & queue = system::default_queue());

Description

Copies the elements from the range [first, last) to the range beginning at result using the output indices from the range beginning at map.

See Also:

gather()


PrevUpHomeNext