xtensor
Loading...
Searching...
No Matches
xt::xaccumulator_functor< ACCUMULATE_FUNC, INIT_FUNC > Struct Template Reference
Inheritance diagram for xt::xaccumulator_functor< ACCUMULATE_FUNC, INIT_FUNC >:

Public Types

using self_type = xaccumulator_functor<ACCUMULATE_FUNC, INIT_FUNC>
 
using base_type = std::tuple<ACCUMULATE_FUNC, INIT_FUNC>
 
using accumulate_functor_type = ACCUMULATE_FUNC
 
using init_functor_type = INIT_FUNC
 
using init_value_type = typename init_functor_type::value_type
 

Public Member Functions

template<class RF >
 xaccumulator_functor (RF &&accumulate_func)
 
template<class RF , class IF >
 xaccumulator_functor (RF &&accumulate_func, IF &&init_func)
 

Detailed Description

template<class ACCUMULATE_FUNC, class INIT_FUNC = detail::accumulator_identity<void>>
struct xt::xaccumulator_functor< ACCUMULATE_FUNC, INIT_FUNC >

Definition at line 42 of file xaccumulator.hpp.

Member Typedef Documentation

◆ accumulate_functor_type

template<class ACCUMULATE_FUNC , class INIT_FUNC = detail::accumulator_identity<void>>
using xt::xaccumulator_functor< ACCUMULATE_FUNC, INIT_FUNC >::accumulate_functor_type = ACCUMULATE_FUNC

Definition at line 46 of file xaccumulator.hpp.

◆ base_type

template<class ACCUMULATE_FUNC , class INIT_FUNC = detail::accumulator_identity<void>>
using xt::xaccumulator_functor< ACCUMULATE_FUNC, INIT_FUNC >::base_type = std::tuple<ACCUMULATE_FUNC, INIT_FUNC>

Definition at line 45 of file xaccumulator.hpp.

◆ init_functor_type

template<class ACCUMULATE_FUNC , class INIT_FUNC = detail::accumulator_identity<void>>
using xt::xaccumulator_functor< ACCUMULATE_FUNC, INIT_FUNC >::init_functor_type = INIT_FUNC

Definition at line 47 of file xaccumulator.hpp.

◆ init_value_type

template<class ACCUMULATE_FUNC , class INIT_FUNC = detail::accumulator_identity<void>>
using xt::xaccumulator_functor< ACCUMULATE_FUNC, INIT_FUNC >::init_value_type = typename init_functor_type::value_type

Definition at line 48 of file xaccumulator.hpp.

◆ self_type

Definition at line 44 of file xaccumulator.hpp.

Constructor & Destructor Documentation

◆ xaccumulator_functor() [1/3]

template<class ACCUMULATE_FUNC , class INIT_FUNC = detail::accumulator_identity<void>>
xt::xaccumulator_functor< ACCUMULATE_FUNC, INIT_FUNC >::xaccumulator_functor ( )
inline

Definition at line 50 of file xaccumulator.hpp.

◆ xaccumulator_functor() [2/3]

template<class ACCUMULATE_FUNC , class INIT_FUNC = detail::accumulator_identity<void>>
template<class RF >
xt::xaccumulator_functor< ACCUMULATE_FUNC, INIT_FUNC >::xaccumulator_functor ( RF && accumulate_func)
inline

Definition at line 56 of file xaccumulator.hpp.

◆ xaccumulator_functor() [3/3]

template<class ACCUMULATE_FUNC , class INIT_FUNC = detail::accumulator_identity<void>>
template<class RF , class IF >
xt::xaccumulator_functor< ACCUMULATE_FUNC, INIT_FUNC >::xaccumulator_functor ( RF && accumulate_func,
IF && init_func )
inline

Definition at line 62 of file xaccumulator.hpp.


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