xtensor
Loading...
Searching...
No Matches
xt::xrepeat_stepper< S, R > Class Template Reference

Public Types

using repeats_type = R
 
using storage_type = typename S::storage_type
 
using subiterator_type = typename S::subiterator_type
 
using subiterator_traits = typename S::subiterator_traits
 
using value_type = typename subiterator_traits::value_type
 
using reference = typename subiterator_traits::reference
 
using pointer = typename subiterator_traits::pointer
 
using difference_type = typename subiterator_traits::difference_type
 
using size_type = typename storage_type::size_type
 
using shape_type = typename storage_type::shape_type
 
using simd_value_type = xt_simd::simd_type<value_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 ()
 
template<class V >
void store_simd (const V &vec)
 

Broadcasting

 xrepeat_stepper (S &&s, const shape_type &shape, const repeats_type &repeats, size_type axis)
 
reference operator* () const
 
void step (size_type dim, size_type n=1)
 
void step_back (size_type dim, size_type n=1)
 
void reset (size_type dim)
 
void reset_back (size_type dim)
 
void to_begin ()
 
void to_end (layout_type l)
 
void step_leading ()
 

Detailed Description

template<class S, class R>
class xt::xrepeat_stepper< S, R >

Definition at line 187 of file xrepeat.hpp.

Member Typedef Documentation

◆ difference_type

template<class S , class R >
using xt::xrepeat_stepper< S, R >::difference_type = typename subiterator_traits::difference_type

Definition at line 198 of file xrepeat.hpp.

◆ pointer

template<class S , class R >
using xt::xrepeat_stepper< S, R >::pointer = typename subiterator_traits::pointer

Definition at line 197 of file xrepeat.hpp.

◆ reference

template<class S , class R >
using xt::xrepeat_stepper< S, R >::reference = typename subiterator_traits::reference

Definition at line 196 of file xrepeat.hpp.

◆ repeats_type

template<class S , class R >
using xt::xrepeat_stepper< S, R >::repeats_type = R

Definition at line 191 of file xrepeat.hpp.

◆ shape_type

template<class S , class R >
using xt::xrepeat_stepper< S, R >::shape_type = typename storage_type::shape_type

Definition at line 200 of file xrepeat.hpp.

◆ simd_return_type

template<class S , class R >
template<class requested_type >
using xt::xrepeat_stepper< S, R >::simd_return_type = xt_simd::simd_return_type<value_type, requested_type>

Definition at line 204 of file xrepeat.hpp.

◆ simd_value_type

template<class S , class R >
using xt::xrepeat_stepper< S, R >::simd_value_type = xt_simd::simd_type<value_type>

Definition at line 201 of file xrepeat.hpp.

◆ size_type

template<class S , class R >
using xt::xrepeat_stepper< S, R >::size_type = typename storage_type::size_type

Definition at line 199 of file xrepeat.hpp.

◆ storage_type

template<class S , class R >
using xt::xrepeat_stepper< S, R >::storage_type = typename S::storage_type

Definition at line 192 of file xrepeat.hpp.

◆ subiterator_traits

template<class S , class R >
using xt::xrepeat_stepper< S, R >::subiterator_traits = typename S::subiterator_traits

Definition at line 194 of file xrepeat.hpp.

◆ subiterator_type

template<class S , class R >
using xt::xrepeat_stepper< S, R >::subiterator_type = typename S::subiterator_type

Definition at line 193 of file xrepeat.hpp.

◆ value_type

template<class S , class R >
using xt::xrepeat_stepper< S, R >::value_type = typename subiterator_traits::value_type

Definition at line 195 of file xrepeat.hpp.

Constructor & Destructor Documentation

◆ xrepeat_stepper()

template<class S , class R >
xt::xrepeat_stepper< S, R >::xrepeat_stepper ( S && s,
const shape_type & shape,
const repeats_type & repeats,
size_type axis )

Definition at line 473 of file xrepeat.hpp.

Member Function Documentation

◆ operator*()

template<class S , class R >
auto xt::xrepeat_stepper< S, R >::operator* ( ) const
inline

Definition at line 485 of file xrepeat.hpp.

◆ reset()

template<class S , class R >
void xt::xrepeat_stepper< S, R >::reset ( size_type dim)
inline

Definition at line 541 of file xrepeat.hpp.

◆ reset_back()

template<class S , class R >
void xt::xrepeat_stepper< S, R >::reset_back ( size_type dim)
inline

Definition at line 553 of file xrepeat.hpp.

◆ step()

template<class S , class R >
void xt::xrepeat_stepper< S, R >::step ( size_type dim,
size_type n = 1 )
inline

Definition at line 491 of file xrepeat.hpp.

◆ step_back()

template<class S , class R >
void xt::xrepeat_stepper< S, R >::step_back ( size_type dim,
size_type n = 1 )
inline

Definition at line 516 of file xrepeat.hpp.

◆ step_leading()

template<class S , class R >
void xt::xrepeat_stepper< S, R >::step_leading ( )
inline

Definition at line 599 of file xrepeat.hpp.

◆ to_begin()

template<class S , class R >
void xt::xrepeat_stepper< S, R >::to_begin ( )
inline

Definition at line 565 of file xrepeat.hpp.

◆ to_end()

template<class S , class R >
void xt::xrepeat_stepper< S, R >::to_end ( layout_type l)
inline

Definition at line 574 of file xrepeat.hpp.


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