Hydra  4.0.1
A header-only templated C++ framework to perform data analysis on massively parallel platforms.
Sum.h File Reference
Include dependency graph for Sum.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  hydra::Sum< F1, F2, Fs >
 

Namespaces

 hydra
 Generic policies definition.
 

Functions

template<typename T1 , typename T2 >
std::enable_if<(detail::is_hydra_functor< T1 >::value||detail::is_hydra_lambda< T1 >::value) &&(detail::is_hydra_functor< T2 >::value||detail::is_hydra_lambda< T2 >::value), Sum< T1, T2 > >::type hydra::operator+ (T1 const &F1, T2 const &F2)
 operator+ for two functors. More...
 
template<typename T , typename U >
std::enable_if<(detail::is_hydra_functor< T >::value||detail::is_hydra_lambda< T >::value) &&(std::is_arithmetic< U >::value), Sum< Constant< U >, T > >::type hydra::operator+ (U const cte, T const &F)
 operator+ for a value and a functor. More...
 
template<typename T , typename U >
std::enable_if<(detail::is_hydra_functor< T >::value||detail::is_hydra_lambda< T >::value) &&(std::is_arithmetic< U >::value), Sum< Constant< U >, T > >::type hydra::operator+ (T const &F, U cte)
 operator+ for a value and a functor. More...
 
template<typename T , typename U >
std::enable_if<(detail::is_hydra_functor< T >::value||detail::is_hydra_lambda< T >::value) &&(std::is_arithmetic< U >::value), Sum< Constant< hydra::complex< U > >, T > >::type hydra::operator+ (hydra::complex< U > const &cte, T const &F)
 operator+ for a complex value and a functor. More...
 
template<typename T , typename U >
std::enable_if<(detail::is_hydra_functor< T >::value||detail::is_hydra_lambda< T >::value) &&(std::is_arithmetic< U >::value), Sum< Constant< U >, T > >::type hydra::operator+ (T const &F, hydra::complex< U > const &cte)
 operator+ for a complex value and a functor. More...
 
template<typename F1 , typename F2 , typename ... Fs>
std::enable_if<(detail::is_hydra_functor< F1 >::value||detail::is_hydra_lambda< F1 >::value) &&(detail::is_hydra_functor< F2 >::value||detail::is_hydra_lambda< F2 >::value) &&detail::all_true<(detail::is_hydra_functor< Fs >::value||detail::is_hydra_lambda< Fs >::value)... >::value, Sum< F1, F2, Fs... > >::type hydra::sum (F1 const &f1, F2 const &f2, Fs const &... functors)