thrust
Classes | Namespaces | Functions | Variables
functional.h File Reference

Function objects and tools for manipulating them. More...

#include <thrust/detail/config.h>
#include <functional>
#include <thrust/detail/functional/placeholder.h>
#include <thrust/detail/functional.inl>
#include <thrust/detail/functional/operators.h>

Go to the source code of this file.

Classes

struct  thrust::unary_function< Argument, Result >
 
struct  thrust::binary_function< Argument1, Argument2, Result >
 
struct  thrust::plus< T >
 
struct  thrust::minus< T >
 
struct  thrust::multiplies< T >
 
struct  thrust::divides< T >
 
struct  thrust::modulus< T >
 
struct  thrust::negate< T >
 
struct  thrust::square< T >
 
struct  thrust::equal_to< T >
 
struct  thrust::not_equal_to< T >
 
struct  thrust::greater< T >
 
struct  thrust::less< T >
 
struct  thrust::greater_equal< T >
 
struct  thrust::less_equal< T >
 
struct  thrust::logical_and< T >
 
struct  thrust::logical_or< T >
 
struct  thrust::logical_not< T >
 
struct  thrust::bit_and< T >
 
struct  thrust::bit_or< T >
 
struct  thrust::bit_xor< T >
 
struct  thrust::identity< T >
 
struct  thrust::maximum< T >
 
struct  thrust::minimum< T >
 
struct  thrust::project1st< T1, T2 >
 
struct  thrust::project2nd< T1, T2 >
 
struct  thrust::unary_negate< Predicate >
 
struct  thrust::binary_negate< Predicate >
 

Namespaces

 thrust
 thrust is the top-level namespace which contains all Thrust functions and types.
 
 thrust::placeholders
 Facilities for constructing simple functions inline.
 

Functions

template<typename Predicate >
__host__ __device__ unary_negate< Predicate > thrust::not1 (const Predicate &pred)
 
template<typename BinaryPredicate >
__host__ __device__ binary_negate< BinaryPredicate > thrust::not2 (const BinaryPredicate &pred)
 

Variables

static const thrust::detail::functional::placeholder< 0 >::type thrust::placeholders::_1
 
static const thrust::detail::functional::placeholder< 1 >::type thrust::placeholders::_2
 
static const thrust::detail::functional::placeholder< 2 >::type thrust::placeholders::_3
 
static const thrust::detail::functional::placeholder< 3 >::type thrust::placeholders::_4
 
static const thrust::detail::functional::placeholder< 4 >::type thrust::placeholders::_5
 
static const thrust::detail::functional::placeholder< 5 >::type thrust::placeholders::_6
 
static const thrust::detail::functional::placeholder< 6 >::type thrust::placeholders::_7
 
static const thrust::detail::functional::placeholder< 7 >::type thrust::placeholders::_8
 
static const thrust::detail::functional::placeholder< 8 >::type thrust::placeholders::_9
 
static const thrust::detail::functional::placeholder< 9 >::type thrust::placeholders::_10
 

Detailed Description

Function objects and tools for manipulating them.