xtensor
Loading...
Searching...
No Matches
xt::xoptional_assembly_stepper< D, is_const > Class Template Reference

Public Types

using self_type = xoptional_assembly_stepper<D, is_const>
 
using assembly_type = typename D::assembly_type
 
using value_type = typename assembly_type::value_type
 
using reference
 
using pointer = std::conditional_t<is_const, typename assembly_type::const_pointer, typename assembly_type::pointer>
 
using size_type = typename assembly_type::size_type
 
using difference_type = typename assembly_type::difference_type
 
using raw_value_expression = typename assembly_type::raw_value_expression
 
using raw_flag_expression = typename assembly_type::raw_flag_expression
 
using value_stepper
 
using flag_stepper
 

Public Member Functions

Broadcasting
 xoptional_assembly_stepper (value_stepper vs, flag_stepper fs) 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
 

Detailed Description

template<class D, bool is_const>
class xt::xoptional_assembly_stepper< D, is_const >

Definition at line 276 of file xoptional_assembly_base.hpp.

Member Typedef Documentation

◆ assembly_type

template<class D , bool is_const>
using xt::xoptional_assembly_stepper< D, is_const >::assembly_type = typename D::assembly_type

Definition at line 281 of file xoptional_assembly_base.hpp.

◆ difference_type

template<class D , bool is_const>
using xt::xoptional_assembly_stepper< D, is_const >::difference_type = typename assembly_type::difference_type

Definition at line 287 of file xoptional_assembly_base.hpp.

◆ flag_stepper

template<class D , bool is_const>
using xt::xoptional_assembly_stepper< D, is_const >::flag_stepper
Initial value:
std::
conditional_t<is_const, typename raw_flag_expression::const_stepper, typename raw_flag_expression::stepper>

Definition at line 292 of file xoptional_assembly_base.hpp.

◆ pointer

template<class D , bool is_const>
using xt::xoptional_assembly_stepper< D, is_const >::pointer = std::conditional_t<is_const, typename assembly_type::const_pointer, typename assembly_type::pointer>

Definition at line 285 of file xoptional_assembly_base.hpp.

◆ raw_flag_expression

template<class D , bool is_const>
using xt::xoptional_assembly_stepper< D, is_const >::raw_flag_expression = typename assembly_type::raw_flag_expression

Definition at line 289 of file xoptional_assembly_base.hpp.

◆ raw_value_expression

template<class D , bool is_const>
using xt::xoptional_assembly_stepper< D, is_const >::raw_value_expression = typename assembly_type::raw_value_expression

Definition at line 288 of file xoptional_assembly_base.hpp.

◆ reference

template<class D , bool is_const>
using xt::xoptional_assembly_stepper< D, is_const >::reference
Initial value:
std::
conditional_t<is_const, typename assembly_type::const_reference, typename assembly_type::reference>

Definition at line 283 of file xoptional_assembly_base.hpp.

◆ self_type

template<class D , bool is_const>
using xt::xoptional_assembly_stepper< D, is_const >::self_type = xoptional_assembly_stepper<D, is_const>

Definition at line 280 of file xoptional_assembly_base.hpp.

◆ size_type

template<class D , bool is_const>
using xt::xoptional_assembly_stepper< D, is_const >::size_type = typename assembly_type::size_type

Definition at line 286 of file xoptional_assembly_base.hpp.

◆ value_stepper

template<class D , bool is_const>
using xt::xoptional_assembly_stepper< D, is_const >::value_stepper
Initial value:
std::
conditional_t<is_const, typename raw_value_expression::const_stepper, typename raw_value_expression::stepper>

Definition at line 290 of file xoptional_assembly_base.hpp.

◆ value_type

template<class D , bool is_const>
using xt::xoptional_assembly_stepper< D, is_const >::value_type = typename assembly_type::value_type

Definition at line 282 of file xoptional_assembly_base.hpp.

Constructor & Destructor Documentation

◆ xoptional_assembly_stepper()

template<class D , bool C>
xt::xoptional_assembly_stepper< D, C >::xoptional_assembly_stepper ( value_stepper vs,
flag_stepper fs )
inlinenoexcept

Definition at line 980 of file xoptional_assembly_base.hpp.

Member Function Documentation

◆ operator*()

template<class D , bool C>
auto xt::xoptional_assembly_stepper< D, C >::operator* ( ) const
inline

Definition at line 1043 of file xoptional_assembly_base.hpp.

◆ reset()

template<class D , bool C>
void xt::xoptional_assembly_stepper< D, C >::reset ( size_type dim)
inline

Definition at line 1015 of file xoptional_assembly_base.hpp.

◆ reset_back()

template<class D , bool C>
void xt::xoptional_assembly_stepper< D, C >::reset_back ( size_type dim)
inline

Definition at line 1022 of file xoptional_assembly_base.hpp.

◆ step() [1/2]

template<class D , bool C>
void xt::xoptional_assembly_stepper< D, C >::step ( size_type dim)
inline

Definition at line 987 of file xoptional_assembly_base.hpp.

◆ step() [2/2]

template<class D , bool C>
void xt::xoptional_assembly_stepper< D, C >::step ( size_type dim,
size_type n )
inline

Definition at line 1001 of file xoptional_assembly_base.hpp.

◆ step_back() [1/2]

template<class D , bool C>
void xt::xoptional_assembly_stepper< D, C >::step_back ( size_type dim)
inline

Definition at line 994 of file xoptional_assembly_base.hpp.

◆ step_back() [2/2]

template<class D , bool C>
void xt::xoptional_assembly_stepper< D, C >::step_back ( size_type dim,
size_type n )
inline

Definition at line 1008 of file xoptional_assembly_base.hpp.

◆ to_begin()

template<class D , bool C>
void xt::xoptional_assembly_stepper< D, C >::to_begin ( )
inline

Definition at line 1029 of file xoptional_assembly_base.hpp.

◆ to_end()

template<class D , bool C>
void xt::xoptional_assembly_stepper< D, C >::to_end ( layout_type l)
inline

Definition at line 1036 of file xoptional_assembly_base.hpp.


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