Thrill
0.1
|
#include <algorithm>
#include <array>
#include <cassert>
#include <functional>
#include <tuple>
#include <type_traits>
#include <utility>
#include <vector>
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 > |
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 T & | max (const T &a, const T &b) |
template for constexpr max, because std::max is not good enough. More... | |
template<typename T > | |
static constexpr const T & | min (const T &a, const T &b) |
template for constexpr min, because std::min is not good enough. More... | |
#define THRILL_COMMON_FUNCTIONAL_HEADER |
Definition at line 14 of file functional.hpp.