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

Public Types

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

Public Member Functions

 xall (size_type size) noexcept
 
template<std::convertible_to< T > S>
 operator xall< S > () const noexcept
 
template<std::convertible_to< T > S>
xall< 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< xall< T > >
derived_typederived_cast () noexcept
 
const derived_typederived_cast () const noexcept
 

Additional Inherited Members

- Protected Member Functions inherited from xt::xslice< xall< T > >
 xslice (const xslice &)=default
 
 xslice (xslice &&)=default
 
xsliceoperator= (const xslice &)=default
 
xsliceoperator= (xslice &&)=default
 

Detailed Description

template<class T>
class xt::xall< T >

Definition at line 191 of file xslice.hpp.

Member Typedef Documentation

◆ self_type

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

Definition at line 196 of file xslice.hpp.

◆ size_type

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

Definition at line 195 of file xslice.hpp.

Constructor & Destructor Documentation

◆ xall()

template<class T>
xt::xall< T >::xall ( size_type size)
inlineexplicitnoexcept

Definition at line 1146 of file xslice.hpp.

Member Function Documentation

◆ contains()

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

Definition at line 1196 of file xslice.hpp.

◆ convert()

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

Definition at line 1160 of file xslice.hpp.

◆ operator xall< S >()

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

Definition at line 1153 of file xslice.hpp.

◆ operator!=()

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

Definition at line 1208 of file xslice.hpp.

◆ operator()()

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

Definition at line 1166 of file xslice.hpp.

◆ operator==()

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

Definition at line 1202 of file xslice.hpp.

◆ revert_index()

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

Definition at line 1190 of file xslice.hpp.

◆ size()

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

Definition at line 1172 of file xslice.hpp.

◆ step_size() [1/2]

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

Definition at line 1178 of file xslice.hpp.

◆ step_size() [2/2]

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

Definition at line 1184 of file xslice.hpp.


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