Bolt  1.3
C++ template library with support for OpenCL
Namespaces | Functions
min_element.h File Reference

min_element returns the location of the first minimum element in the specified range. More...

#include <amp.h>
#include "bolt/amp/functional.h"
#include "bolt/amp/bolt.h"
#include <string>
#include <assert.h>
#include <bolt/amp/detail/min_element.inl>

Go to the source code of this file.

Namespaces

namespace  bolt
 Defining namespace for the Bolt project.
 
namespace  bolt::amp
 Namespace containing AMP related data types and functions.
 

Functions

template<typename ForwardIterator >
ForwardIterator bolt::amp::min_element (bolt::amp::control &ctl, ForwardIterator first, ForwardIterator last)
 The min_element returns the location of the first minimum element in the specified range.
 
template<typename ForwardIterator >
ForwardIterator bolt::amp::min_element (ForwardIterator first, ForwardIterator last)
 
template<typename ForwardIterator , typename BinaryPredicate >
ForwardIterator bolt::amp::min_element (bolt::amp::control &ctl, ForwardIterator first, ForwardIterator last, BinaryPredicate binary_op)
 The min_element returns the location of the first minimum element in the specified range using the specified binary_op.
 
template<typename ForwardIterator , typename BinaryPredicate >
ForwardIterator bolt::amp::min_element (ForwardIterator first, ForwardIterator last, BinaryPredicate binary_op)
 

Detailed Description

min_element returns the location of the first minimum element in the specified range.