xtensor
Loading...
Searching...
No Matches
xt::xreducer_stepper< F, CT, X, O > Class Template Reference

Public Types

using self_type = xreducer_stepper<F, CT, X, O>
 
using xreducer_type = xreducer<F, CT, X, O>
 
using value_type = typename xreducer_type::value_type
 
using reference = typename xreducer_type::value_type
 
using pointer = typename xreducer_type::const_pointer
 
using size_type = typename xreducer_type::size_type
 
using difference_type = typename xreducer_type::difference_type
 
using xexpression_type = typename xreducer_type::xexpression_type
 
using substepper_type = typename xexpression_type::const_stepper
 
using shape_type = typename xreducer_type::shape_type
 

Broadcasting

 xreducer_stepper (const xreducer_type &red, size_type offset, bool end=false, layout_type l=default_assignable_layout(xexpression_type::static_layout))
 
reference operator* () const
 
void step (size_type dim)
 
void step_back (size_type dim)
 
void step (size_type dim, size_type n)
 
void step_back (size_type dim, size_type n)
 
void reset (size_type dim)
 
void reset_back (size_type dim)
 
void to_begin ()
 
void to_end (layout_type l)
 

Detailed Description

template<class F, class CT, class X, class O>
class xt::xreducer_stepper< F, CT, X, O >

Definition at line 1095 of file xreducer.hpp.

Member Typedef Documentation

◆ difference_type

template<class F , class CT , class X , class O >
using xt::xreducer_stepper< F, CT, X, O >::difference_type = typename xreducer_type::difference_type

Definition at line 1106 of file xreducer.hpp.

◆ pointer

template<class F , class CT , class X , class O >
using xt::xreducer_stepper< F, CT, X, O >::pointer = typename xreducer_type::const_pointer

Definition at line 1104 of file xreducer.hpp.

◆ reference

template<class F , class CT , class X , class O >
using xt::xreducer_stepper< F, CT, X, O >::reference = typename xreducer_type::value_type

Definition at line 1103 of file xreducer.hpp.

◆ self_type

template<class F , class CT , class X , class O >
using xt::xreducer_stepper< F, CT, X, O >::self_type = xreducer_stepper<F, CT, X, O>

Definition at line 1099 of file xreducer.hpp.

◆ shape_type

template<class F , class CT , class X , class O >
using xt::xreducer_stepper< F, CT, X, O >::shape_type = typename xreducer_type::shape_type

Definition at line 1110 of file xreducer.hpp.

◆ size_type

template<class F , class CT , class X , class O >
using xt::xreducer_stepper< F, CT, X, O >::size_type = typename xreducer_type::size_type

Definition at line 1105 of file xreducer.hpp.

◆ substepper_type

template<class F , class CT , class X , class O >
using xt::xreducer_stepper< F, CT, X, O >::substepper_type = typename xexpression_type::const_stepper

Definition at line 1109 of file xreducer.hpp.

◆ value_type

template<class F , class CT , class X , class O >
using xt::xreducer_stepper< F, CT, X, O >::value_type = typename xreducer_type::value_type

Definition at line 1102 of file xreducer.hpp.

◆ xexpression_type

template<class F , class CT , class X , class O >
using xt::xreducer_stepper< F, CT, X, O >::xexpression_type = typename xreducer_type::xexpression_type

Definition at line 1108 of file xreducer.hpp.

◆ xreducer_type

template<class F , class CT , class X , class O >
using xt::xreducer_stepper< F, CT, X, O >::xreducer_type = xreducer<F, CT, X, O>

Definition at line 1100 of file xreducer.hpp.

Constructor & Destructor Documentation

◆ xreducer_stepper()

template<class F , class CT , class X , class O >
xt::xreducer_stepper< F, CT, X, O >::xreducer_stepper ( const xreducer_type & red,
size_type offset,
bool end = false,
layout_type l = default_assignable_layout(xexpression_type::static_layout) )
inline

Definition at line 1675 of file xreducer.hpp.

Member Function Documentation

◆ operator*()

template<class F , class CT , class X , class O >
auto xt::xreducer_stepper< F, CT, X, O >::operator* ( ) const
inline

Definition at line 1692 of file xreducer.hpp.

◆ reset()

template<class F , class CT , class X , class O >
void xt::xreducer_stepper< F, CT, X, O >::reset ( size_type dim)
inline

Definition at line 1735 of file xreducer.hpp.

◆ reset_back()

template<class F , class CT , class X , class O >
void xt::xreducer_stepper< F, CT, X, O >::reset_back ( size_type dim)
inline

Definition at line 1752 of file xreducer.hpp.

◆ step() [1/2]

template<class F , class CT , class X , class O >
void xt::xreducer_stepper< F, CT, X, O >::step ( size_type dim)
inline

Definition at line 1699 of file xreducer.hpp.

◆ step() [2/2]

template<class F , class CT , class X , class O >
void xt::xreducer_stepper< F, CT, X, O >::step ( size_type dim,
size_type n )
inline

Definition at line 1717 of file xreducer.hpp.

◆ step_back() [1/2]

template<class F , class CT , class X , class O >
void xt::xreducer_stepper< F, CT, X, O >::step_back ( size_type dim)
inline

Definition at line 1708 of file xreducer.hpp.

◆ step_back() [2/2]

template<class F , class CT , class X , class O >
void xt::xreducer_stepper< F, CT, X, O >::step_back ( size_type dim,
size_type n )
inline

Definition at line 1726 of file xreducer.hpp.

◆ to_begin()

template<class F , class CT , class X , class O >
void xt::xreducer_stepper< F, CT, X, O >::to_begin ( )
inline

Definition at line 1768 of file xreducer.hpp.

◆ to_end()

template<class F , class CT , class X , class O >
void xt::xreducer_stepper< F, CT, X, O >::to_end ( layout_type l)
inline

Definition at line 1774 of file xreducer.hpp.


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