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

Public Types

using self_type = xfunction_stepper<F, CT...>
 
using functor_type = typename std::remove_reference<F>::type
 
using xfunction_type = xfunction<F, CT...>
 
using value_type = typename xfunction_type::value_type
 
using reference = typename xfunction_type::reference
 
using pointer = typename xfunction_type::const_pointer
 
using size_type = typename xfunction_type::size_type
 
using difference_type = typename xfunction_type::difference_type
 
using shape_type = typename xfunction_type::shape_type
 
template<class requested_type >
using simd_return_type = xt_simd::simd_return_type<value_type, requested_type>
 

Public Member Functions

template<class T >
simd_return_type< T > step_simd ()
 
Broadcasting
template<class... St>
 xfunction_stepper (const xfunction_type *func, St &&... st) noexcept
 
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)
 
reference operator* () const
 
void step_leading ()
 
template<std::size_t... I>
auto deref_impl (std::index_sequence< I... >) const -> reference
 
template<class T , std::size_t... I>
auto step_simd_impl (std::index_sequence< I... >) -> simd_return_type< T >
 
template<class T >
auto step_simd () -> simd_return_type< T >
 

Detailed Description

template<class F, class... CT>
class xt::xfunction_stepper< F, CT >

Definition at line 474 of file xfunction.hpp.

Member Typedef Documentation

◆ difference_type

template<class F , class... CT>
using xt::xfunction_stepper< F, CT >::difference_type = typename xfunction_type::difference_type

Definition at line 486 of file xfunction.hpp.

◆ functor_type

template<class F , class... CT>
using xt::xfunction_stepper< F, CT >::functor_type = typename std::remove_reference<F>::type

Definition at line 479 of file xfunction.hpp.

◆ pointer

template<class F , class... CT>
using xt::xfunction_stepper< F, CT >::pointer = typename xfunction_type::const_pointer

Definition at line 484 of file xfunction.hpp.

◆ reference

template<class F , class... CT>
using xt::xfunction_stepper< F, CT >::reference = typename xfunction_type::reference

Definition at line 483 of file xfunction.hpp.

◆ self_type

template<class F , class... CT>
using xt::xfunction_stepper< F, CT >::self_type = xfunction_stepper<F, CT...>

Definition at line 478 of file xfunction.hpp.

◆ shape_type

template<class F , class... CT>
using xt::xfunction_stepper< F, CT >::shape_type = typename xfunction_type::shape_type

Definition at line 488 of file xfunction.hpp.

◆ simd_return_type

template<class F , class... CT>
template<class requested_type >
using xt::xfunction_stepper< F, CT >::simd_return_type = xt_simd::simd_return_type<value_type, requested_type>

Definition at line 491 of file xfunction.hpp.

◆ size_type

template<class F , class... CT>
using xt::xfunction_stepper< F, CT >::size_type = typename xfunction_type::size_type

Definition at line 485 of file xfunction.hpp.

◆ value_type

template<class F , class... CT>
using xt::xfunction_stepper< F, CT >::value_type = typename xfunction_type::value_type

Definition at line 482 of file xfunction.hpp.

◆ xfunction_type

template<class F , class... CT>
using xt::xfunction_stepper< F, CT >::xfunction_type = xfunction<F, CT...>

Definition at line 480 of file xfunction.hpp.

Constructor & Destructor Documentation

◆ xfunction_stepper()

template<class F , class... CT>
template<class... St>
xt::xfunction_stepper< F, CT >::xfunction_stepper ( const xfunction_type * func,
St &&... st )
inlinenoexcept

Definition at line 1069 of file xfunction.hpp.

Member Function Documentation

◆ deref_impl()

template<class F , class... CT>
template<std::size_t... I>
auto xt::xfunction_stepper< F, CT >::deref_impl ( std::index_sequence< I... > ) const -> reference
inline

Definition at line 1163 of file xfunction.hpp.

◆ operator*()

template<class F , class... CT>
auto xt::xfunction_stepper< F, CT >::operator* ( ) const
inline

Definition at line 1156 of file xfunction.hpp.

◆ reset()

template<class F , class... CT>
void xt::xfunction_stepper< F, CT >::reset ( size_type dim)
inline

Definition at line 1116 of file xfunction.hpp.

◆ reset_back()

template<class F , class... CT>
void xt::xfunction_stepper< F, CT >::reset_back ( size_type dim)
inline

Definition at line 1126 of file xfunction.hpp.

◆ step() [1/2]

template<class F , class... CT>
void xt::xfunction_stepper< F, CT >::step ( size_type dim)
inline

Definition at line 1076 of file xfunction.hpp.

◆ step() [2/2]

template<class F , class... CT>
void xt::xfunction_stepper< F, CT >::step ( size_type dim,
size_type n )
inline

Definition at line 1096 of file xfunction.hpp.

◆ step_back() [1/2]

template<class F , class... CT>
void xt::xfunction_stepper< F, CT >::step_back ( size_type dim)
inline

Definition at line 1086 of file xfunction.hpp.

◆ step_back() [2/2]

template<class F , class... CT>
void xt::xfunction_stepper< F, CT >::step_back ( size_type dim,
size_type n )
inline

Definition at line 1106 of file xfunction.hpp.

◆ step_leading()

template<class F , class... CT>
void xt::xfunction_stepper< F, CT >::step_leading ( )
inline

Definition at line 1183 of file xfunction.hpp.

◆ step_simd()

template<class F , class... CT>
template<class T >
auto xt::xfunction_stepper< F, CT >::step_simd ( ) -> simd_return_type<T>
inline

Definition at line 1177 of file xfunction.hpp.

◆ step_simd_impl()

template<class F , class... CT>
template<class T , std::size_t... I>
auto xt::xfunction_stepper< F, CT >::step_simd_impl ( std::index_sequence< I... > ) -> simd_return_type<T>
inline

Definition at line 1170 of file xfunction.hpp.

◆ to_begin()

template<class F , class... CT>
void xt::xfunction_stepper< F, CT >::to_begin ( )
inline

Definition at line 1136 of file xfunction.hpp.

◆ to_end()

template<class F , class... CT>
void xt::xfunction_stepper< F, CT >::to_end ( layout_type l)
inline

Definition at line 1146 of file xfunction.hpp.


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