thrust
Namespaces | Functions
extrema.h File Reference

Functions for computing computing extremal values. More...

#include <thrust/detail/config.h>
#include <thrust/detail/execution_policy.h>
#include <thrust/pair.h>
#include <thrust/detail/extrema.inl>
#include <thrust/detail/minmax.h>

Go to the source code of this file.

Namespaces

 thrust
 thrust is the top-level namespace which contains all Thrust functions and types.
 

Functions

template<typename T , typename BinaryPredicate >
__host__ __device__ T min thrust::THRUST_PREVENT_MACRO_SUBSTITUTION (const T &lhs, const T &rhs, BinaryPredicate comp)
 
template<typename T >
__host__ __device__ T min thrust::THRUST_PREVENT_MACRO_SUBSTITUTION (const T &lhs, const T &rhs)
 
template<typename T , typename BinaryPredicate >
__host__ __device__ T max thrust::THRUST_PREVENT_MACRO_SUBSTITUTION (const T &lhs, const T &rhs, BinaryPredicate comp)
 
template<typename T >
__host__ __device__ T max thrust::THRUST_PREVENT_MACRO_SUBSTITUTION (const T &lhs, const T &rhs)
 
template<typename DerivedPolicy , typename ForwardIterator >
__host__ __device__ ForwardIterator thrust::min_element (const thrust::detail::execution_policy_base< DerivedPolicy > &exec, ForwardIterator first, ForwardIterator last)
 
template<typename ForwardIterator >
ForwardIterator thrust::min_element (ForwardIterator first, ForwardIterator last)
 
template<typename DerivedPolicy , typename ForwardIterator , typename BinaryPredicate >
__host__ __device__ ForwardIterator thrust::min_element (const thrust::detail::execution_policy_base< DerivedPolicy > &exec, ForwardIterator first, ForwardIterator last, BinaryPredicate comp)
 
template<typename ForwardIterator , typename BinaryPredicate >
ForwardIterator thrust::min_element (ForwardIterator first, ForwardIterator last, BinaryPredicate comp)
 
template<typename DerivedPolicy , typename ForwardIterator >
__host__ __device__ ForwardIterator thrust::max_element (const thrust::detail::execution_policy_base< DerivedPolicy > &exec, ForwardIterator first, ForwardIterator last)
 
template<typename ForwardIterator >
ForwardIterator thrust::max_element (ForwardIterator first, ForwardIterator last)
 
template<typename DerivedPolicy , typename ForwardIterator , typename BinaryPredicate >
__host__ __device__ ForwardIterator thrust::max_element (const thrust::detail::execution_policy_base< DerivedPolicy > &exec, ForwardIterator first, ForwardIterator last, BinaryPredicate comp)
 
template<typename ForwardIterator , typename BinaryPredicate >
ForwardIterator thrust::max_element (ForwardIterator first, ForwardIterator last, BinaryPredicate comp)
 
template<typename DerivedPolicy , typename ForwardIterator >
__host__ __device__ thrust::pair< ForwardIterator, ForwardIterator > thrust::minmax_element (const thrust::detail::execution_policy_base< DerivedPolicy > &exec, ForwardIterator first, ForwardIterator last)
 
template<typename ForwardIterator >
thrust::pair< ForwardIterator, ForwardIterator > thrust::minmax_element (ForwardIterator first, ForwardIterator last)
 
template<typename DerivedPolicy , typename ForwardIterator , typename BinaryPredicate >
__host__ __device__ thrust::pair< ForwardIterator, ForwardIterator > thrust::minmax_element (const thrust::detail::execution_policy_base< DerivedPolicy > &exec, ForwardIterator first, ForwardIterator last, BinaryPredicate comp)
 
template<typename ForwardIterator , typename BinaryPredicate >
thrust::pair< ForwardIterator, ForwardIterator > thrust::minmax_element (ForwardIterator first, ForwardIterator last, BinaryPredicate comp)
 

Detailed Description

Functions for computing computing extremal values.