xtensor
Loading...
Searching...
No Matches
xt::xreducer_functors< REDUCE_FUNC, INIT_FUNC, MERGE_FUNC > Struct Template Reference
Inheritance diagram for xt::xreducer_functors< REDUCE_FUNC, INIT_FUNC, MERGE_FUNC >:

Public Types

using self_type = xreducer_functors<REDUCE_FUNC, INIT_FUNC, MERGE_FUNC>
 
using base_type = std::tuple<REDUCE_FUNC, INIT_FUNC, MERGE_FUNC>
 
using reduce_functor_type = REDUCE_FUNC
 
using init_functor_type = INIT_FUNC
 
using merge_functor_type = MERGE_FUNC
 
using init_value_type = typename init_functor_type::value_type
 
template<class NT >
using rebind_t = xreducer_functors<REDUCE_FUNC, const_value<NT>, MERGE_FUNC>
 

Public Member Functions

template<class RF >
 xreducer_functors (RF &&reduce_func)
 
template<class RF , class IF >
 xreducer_functors (RF &&reduce_func, IF &&init_func)
 
template<class RF , class IF , class MF >
 xreducer_functors (RF &&reduce_func, IF &&init_func, MF &&merge_func)
 
reduce_functor_type get_reduce () const
 
init_functor_type get_init () const
 
merge_functor_type get_merge () const
 
template<class NT >
rebind_t< NTrebind ()
 

Detailed Description

template<class REDUCE_FUNC, class INIT_FUNC = const_value<long int>, class MERGE_FUNC = REDUCE_FUNC>
struct xt::xreducer_functors< REDUCE_FUNC, INIT_FUNC, MERGE_FUNC >

Definition at line 625 of file xreducer.hpp.

Member Typedef Documentation

◆ base_type

template<class REDUCE_FUNC , class INIT_FUNC = const_value<long int>, class MERGE_FUNC = REDUCE_FUNC>
using xt::xreducer_functors< REDUCE_FUNC, INIT_FUNC, MERGE_FUNC >::base_type = std::tuple<REDUCE_FUNC, INIT_FUNC, MERGE_FUNC>

Definition at line 628 of file xreducer.hpp.

◆ init_functor_type

template<class REDUCE_FUNC , class INIT_FUNC = const_value<long int>, class MERGE_FUNC = REDUCE_FUNC>
using xt::xreducer_functors< REDUCE_FUNC, INIT_FUNC, MERGE_FUNC >::init_functor_type = INIT_FUNC

Definition at line 630 of file xreducer.hpp.

◆ init_value_type

template<class REDUCE_FUNC , class INIT_FUNC = const_value<long int>, class MERGE_FUNC = REDUCE_FUNC>
using xt::xreducer_functors< REDUCE_FUNC, INIT_FUNC, MERGE_FUNC >::init_value_type = typename init_functor_type::value_type

Definition at line 632 of file xreducer.hpp.

◆ merge_functor_type

template<class REDUCE_FUNC , class INIT_FUNC = const_value<long int>, class MERGE_FUNC = REDUCE_FUNC>
using xt::xreducer_functors< REDUCE_FUNC, INIT_FUNC, MERGE_FUNC >::merge_functor_type = MERGE_FUNC

Definition at line 631 of file xreducer.hpp.

◆ rebind_t

Definition at line 673 of file xreducer.hpp.

◆ reduce_functor_type

template<class REDUCE_FUNC , class INIT_FUNC = const_value<long int>, class MERGE_FUNC = REDUCE_FUNC>
using xt::xreducer_functors< REDUCE_FUNC, INIT_FUNC, MERGE_FUNC >::reduce_functor_type = REDUCE_FUNC

Definition at line 629 of file xreducer.hpp.

◆ self_type

Definition at line 627 of file xreducer.hpp.

Constructor & Destructor Documentation

◆ xreducer_functors() [1/4]

template<class REDUCE_FUNC , class INIT_FUNC = const_value<long int>, class MERGE_FUNC = REDUCE_FUNC>
xt::xreducer_functors< REDUCE_FUNC, INIT_FUNC, MERGE_FUNC >::xreducer_functors ( )
inline

Definition at line 634 of file xreducer.hpp.

◆ xreducer_functors() [2/4]

template<class REDUCE_FUNC , class INIT_FUNC = const_value<long int>, class MERGE_FUNC = REDUCE_FUNC>
template<class RF >
xt::xreducer_functors< REDUCE_FUNC, INIT_FUNC, MERGE_FUNC >::xreducer_functors ( RF && reduce_func)
inline

Definition at line 640 of file xreducer.hpp.

◆ xreducer_functors() [3/4]

template<class REDUCE_FUNC , class INIT_FUNC = const_value<long int>, class MERGE_FUNC = REDUCE_FUNC>
template<class RF , class IF >
xt::xreducer_functors< REDUCE_FUNC, INIT_FUNC, MERGE_FUNC >::xreducer_functors ( RF && reduce_func,
IF && init_func )
inline

Definition at line 646 of file xreducer.hpp.

◆ xreducer_functors() [4/4]

template<class REDUCE_FUNC , class INIT_FUNC = const_value<long int>, class MERGE_FUNC = REDUCE_FUNC>
template<class RF , class IF , class MF >
xt::xreducer_functors< REDUCE_FUNC, INIT_FUNC, MERGE_FUNC >::xreducer_functors ( RF && reduce_func,
IF && init_func,
MF && merge_func )
inline

Definition at line 652 of file xreducer.hpp.

Member Function Documentation

◆ get_init()

template<class REDUCE_FUNC , class INIT_FUNC = const_value<long int>, class MERGE_FUNC = REDUCE_FUNC>
init_functor_type xt::xreducer_functors< REDUCE_FUNC, INIT_FUNC, MERGE_FUNC >::get_init ( ) const
inline

Definition at line 662 of file xreducer.hpp.

◆ get_merge()

template<class REDUCE_FUNC , class INIT_FUNC = const_value<long int>, class MERGE_FUNC = REDUCE_FUNC>
merge_functor_type xt::xreducer_functors< REDUCE_FUNC, INIT_FUNC, MERGE_FUNC >::get_merge ( ) const
inline

Definition at line 667 of file xreducer.hpp.

◆ get_reduce()

template<class REDUCE_FUNC , class INIT_FUNC = const_value<long int>, class MERGE_FUNC = REDUCE_FUNC>
reduce_functor_type xt::xreducer_functors< REDUCE_FUNC, INIT_FUNC, MERGE_FUNC >::get_reduce ( ) const
inline

Definition at line 657 of file xreducer.hpp.

◆ rebind()

template<class REDUCE_FUNC , class INIT_FUNC = const_value<long int>, class MERGE_FUNC = REDUCE_FUNC>
template<class NT >
rebind_t< NT > xt::xreducer_functors< REDUCE_FUNC, INIT_FUNC, MERGE_FUNC >::rebind ( )
inline

Definition at line 676 of file xreducer.hpp.


The documentation for this struct was generated from the following file: