xtensor
Loading...
Searching...
No Matches
xt::xfunctor_stepper< F, ST > Class Template Reference

Public Types

using functor_type = F
 
using proxy_inner = xproxy_inner_types<detail::xfunctor_invoker_t<F, ST>>
 
using value_type = typename functor_type::value_type
 
using reference = typename proxy_inner::reference
 
using pointer = std::remove_reference_t<reference>*
 
using size_type = typename ST::size_type
 
using difference_type = typename ST::difference_type
 
using shape_type = typename ST::shape_type
 

Public Member Functions

Extended copy semantic
 xfunctor_stepper (const ST &, functor_type *)
 
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)
 

Detailed Description

template<class F, class ST>
class xt::xfunctor_stepper< F, ST >

Definition at line 628 of file xfunctor_view.hpp.

Member Typedef Documentation

◆ difference_type

template<class F , class ST >
using xt::xfunctor_stepper< F, ST >::difference_type = typename ST::difference_type

Definition at line 639 of file xfunctor_view.hpp.

◆ functor_type

template<class F , class ST >
using xt::xfunctor_stepper< F, ST >::functor_type = F

Definition at line 632 of file xfunctor_view.hpp.

◆ pointer

template<class F , class ST >
using xt::xfunctor_stepper< F, ST >::pointer = std::remove_reference_t<reference>*

Definition at line 637 of file xfunctor_view.hpp.

◆ proxy_inner

template<class F , class ST >
using xt::xfunctor_stepper< F, ST >::proxy_inner = xproxy_inner_types<detail::xfunctor_invoker_t<F, ST>>

Definition at line 634 of file xfunctor_view.hpp.

◆ reference

template<class F , class ST >
using xt::xfunctor_stepper< F, ST >::reference = typename proxy_inner::reference

Definition at line 636 of file xfunctor_view.hpp.

◆ shape_type

template<class F , class ST >
using xt::xfunctor_stepper< F, ST >::shape_type = typename ST::shape_type

Definition at line 641 of file xfunctor_view.hpp.

◆ size_type

template<class F , class ST >
using xt::xfunctor_stepper< F, ST >::size_type = typename ST::size_type

Definition at line 638 of file xfunctor_view.hpp.

◆ value_type

template<class F , class ST >
using xt::xfunctor_stepper< F, ST >::value_type = typename functor_type::value_type

Definition at line 635 of file xfunctor_view.hpp.

Constructor & Destructor Documentation

◆ xfunctor_stepper()

template<class F , class ST >
xt::xfunctor_stepper< F, ST >::xfunctor_stepper ( const ST & stepper,
functor_type * pf )

Definition at line 1589 of file xfunctor_view.hpp.

Member Function Documentation

◆ operator*()

template<class F , class ST >
auto xt::xfunctor_stepper< F, ST >::operator* ( ) const

Definition at line 1596 of file xfunctor_view.hpp.

◆ reset()

template<class F , class ST >
void xt::xfunctor_stepper< F, ST >::reset ( size_type dim)

Definition at line 1626 of file xfunctor_view.hpp.

◆ reset_back()

template<class F , class ST >
void xt::xfunctor_stepper< F, ST >::reset_back ( size_type dim)

Definition at line 1632 of file xfunctor_view.hpp.

◆ step() [1/2]

template<class F , class ST >
void xt::xfunctor_stepper< F, ST >::step ( size_type dim)

Definition at line 1602 of file xfunctor_view.hpp.

◆ step() [2/2]

template<class F , class ST >
void xt::xfunctor_stepper< F, ST >::step ( size_type dim,
size_type n )

Definition at line 1614 of file xfunctor_view.hpp.

◆ step_back() [1/2]

template<class F , class ST >
void xt::xfunctor_stepper< F, ST >::step_back ( size_type dim)

Definition at line 1608 of file xfunctor_view.hpp.

◆ step_back() [2/2]

template<class F , class ST >
void xt::xfunctor_stepper< F, ST >::step_back ( size_type dim,
size_type n )

Definition at line 1620 of file xfunctor_view.hpp.

◆ to_begin()

template<class F , class ST >
void xt::xfunctor_stepper< F, ST >::to_begin ( )

Definition at line 1638 of file xfunctor_view.hpp.

◆ to_end()

template<class F , class ST >
void xt::xfunctor_stepper< F, ST >::to_end ( layout_type l)

Definition at line 1644 of file xfunctor_view.hpp.


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