xtensor
Loading...
Searching...
No Matches
xt::xstepped_range< T > Class Template Reference
Inheritance diagram for xt::xstepped_range< T >:
xt::xslice< xstepped_range< T > >

Public Types

using size_type = T
using self_type = xstepped_range<T>
Public Types inherited from xt::xslice< xstepped_range< T > >
using derived_type

Public Member Functions

 xstepped_range (size_type start_val, size_type stop_val, size_type step) noexcept
template<std::convertible_to< T > S>
 operator xstepped_range< S > () const noexcept
template<std::convertible_to< T > S>
xstepped_range< S > convert () const noexcept
size_type operator() (size_type i) const noexcept
size_type size () const noexcept
size_type step_size () const noexcept
size_type step_size (std::size_t i, std::size_t n=1) const noexcept
size_type revert_index (std::size_t i) const noexcept
bool contains (size_type i) const noexcept
bool operator== (const self_type &rhs) const noexcept
bool operator!= (const self_type &rhs) const noexcept
Public Member Functions inherited from xt::xslice< xstepped_range< T > >
derived_type & derived_cast () noexcept

Additional Inherited Members

Protected Member Functions inherited from xt::xslice< xstepped_range< T > >
xslice & operator= (const xslice &)=default

Detailed Description

template<class T>
class xt::xstepped_range< T >

Definition at line 136 of file xslice.hpp.

Member Typedef Documentation

◆ self_type

template<class T>
using xt::xstepped_range< T >::self_type = xstepped_range<T>

Definition at line 141 of file xslice.hpp.

◆ size_type

template<class T>
using xt::xstepped_range< T >::size_type = T

Definition at line 140 of file xslice.hpp.

Constructor & Destructor Documentation

◆ xstepped_range()

template<class T>
xt::xstepped_range< T >::xstepped_range ( size_type start_val,
size_type stop_val,
size_type step )
inlinenoexcept

Definition at line 1056 of file xslice.hpp.

Member Function Documentation

◆ contains()

template<class T>
bool xt::xstepped_range< T >::contains ( size_type i) const
inlinenoexcept

Definition at line 1119 of file xslice.hpp.

◆ convert()

template<class T>
template<std::convertible_to< T > S>
xstepped_range< S > xt::xstepped_range< T >::convert ( ) const
inlinenoexcept

Definition at line 1083 of file xslice.hpp.

◆ operator xstepped_range< S >()

template<class T>
template<std::convertible_to< T > S>
xt::xstepped_range< T >::operator xstepped_range< S > ( ) const
inlinenoexcept

Definition at line 1072 of file xslice.hpp.

◆ operator!=()

template<class T>
bool xt::xstepped_range< T >::operator!= ( const self_type & rhs) const
inlinenoexcept

Definition at line 1131 of file xslice.hpp.

◆ operator()()

template<class T>
auto xt::xstepped_range< T >::operator() ( size_type i) const
inlinenoexcept

Definition at line 1089 of file xslice.hpp.

◆ operator==()

template<class T>
bool xt::xstepped_range< T >::operator== ( const self_type & rhs) const
inlinenoexcept

Definition at line 1125 of file xslice.hpp.

◆ revert_index()

template<class T>
auto xt::xstepped_range< T >::revert_index ( std::size_t i) const
inlinenoexcept

Definition at line 1113 of file xslice.hpp.

◆ size()

template<class T>
auto xt::xstepped_range< T >::size ( ) const
inlinenoexcept

Definition at line 1095 of file xslice.hpp.

◆ step_size() [1/2]

template<class T>
auto xt::xstepped_range< T >::step_size ( ) const
inlinenoexcept

Definition at line 1101 of file xslice.hpp.

◆ step_size() [2/2]

template<class T>
auto xt::xstepped_range< T >::step_size ( std::size_t i,
std::size_t n = 1 ) const
inlinenoexcept

Definition at line 1107 of file xslice.hpp.

◆ xstepped_range

template<class T>
template<class S>
friend class xstepped_range
friend

Definition at line 173 of file xslice.hpp.


The documentation for this class was generated from the following file:
  • /home/runner/work/xtensor/xtensor/include/xtensor/views/xslice.hpp