PrevUpHomeNext

Function template minmax_element

boost::compute::minmax_element

Synopsis

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


template<typename InputIterator> 
  std::pair< InputIterator, InputIterator > 
  minmax_element(InputIterator first, InputIterator last, 
                 command_queue & queue = system::default_queue());

Description

Returns a pair of iterators with the first pointing to the minimum element and the second pointing to the maximum element in the range [first, last).

See Also:

max_element(), min_element()


PrevUpHomeNext