![]() |
Home | Libraries | People | FAQ | More |
boost::compute::is_sorted
// In header: <boost/compute/algorithm/is_sorted.hpp> template<typename InputIterator, typename Compare> bool is_sorted(InputIterator first, InputIterator last, Compare compare, command_queue & queue = system::default_queue()); template<typename InputIterator> bool is_sorted(InputIterator first, InputIterator last, command_queue & queue = system::default_queue());
Returns true
if the values in the range [first
, last
) are in sorted order.
Space complexity: \Omega(1)
See Also:
sort()
Parameters: |
|
||||||||
Returns: |
|