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 a snapshot of the develop branch, built from commit 19f4a39232.
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.

Space complexity: \Omega(distance(first, last))

See Also:

rotate_copy()


PrevUpHomeNext