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 rotate

boost::compute::rotate

Synopsis

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


template<typename InputIterator> 
  void rotate(InputIterator first, InputIterator n_first, InputIterator last, 
              command_queue & queue = system::default_queue());

Description

Performs left rotation such that element at n_first comes to the beginning.

See Also:

rotate_copy()


PrevUpHomeNext