Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
functional.hpp File Reference
#include <algorithm>
#include <array>
#include <cassert>
#include <functional>
#include <tuple>
#include <type_traits>
#include <utility>
#include <vector>
+ Include dependency graph for functional.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ComponentSum< ArrayType, Operation >
 template for computing the component-wise sum of std::array or std::vector. More...
 
class  ComponentSum< std::array< Type, N >, Operation >
 Compute the component-wise sum of two std::array<T,N> of same sizes. More...
 
class  ComponentSum< std::vector< Type >, Operation >
 Compute the component-wise sum of two std::vector<T> of same sizes. More...
 
struct  Identity
 Identity functor, very useful for default parameters. More...
 
class  maximum< T >
 
class  minimum< T >
 
struct  NoOperation< ReturnType >
 
struct  NoOperation< void >
 Specialized noop functor which returns a void. More...
 
class  VectorConcat< Type >
 Compute the concatenation of two std::vector<T>s. More...
 

Namespaces

 thrill
 
 thrill::common
 Contains many common tools and helpers shared by higher layers. See common.
 

Macros

#define THRILL_COMMON_FUNCTIONAL_HEADER
 

Functions

template<typename Type , typename Functor >
auto MapVector (const std::vector< Type > &input, const Functor &f) -> std::vector< typename std::result_of< Functor(Type)>::type >
 
template<typename T >
static constexpr const Tmax (const T &a, const T &b)
 template for constexpr max, because std::max is not good enough. More...
 
template<typename T >
static constexpr const Tmin (const T &a, const T &b)
 template for constexpr min, because std::min is not good enough. More...
 

Macro Definition Documentation

#define THRILL_COMMON_FUNCTIONAL_HEADER

Definition at line 14 of file functional.hpp.