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_type & derived_cast () noexcept

Additional Inherited Members

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

Detailed Description

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

Definition at line 181 of file xslice.hpp.

Member Typedef Documentation

◆ self_type

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

Definition at line 186 of file xslice.hpp.

◆ size_type

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

Definition at line 185 of file xslice.hpp.

Constructor & Destructor Documentation

◆ xall()

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

Definition at line 1141 of file xslice.hpp.

Member Function Documentation

◆ contains()

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

Definition at line 1191 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 1155 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 1148 of file xslice.hpp.

◆ operator!=()

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

Definition at line 1203 of file xslice.hpp.

◆ operator()()

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

Definition at line 1161 of file xslice.hpp.

◆ operator==()

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

Definition at line 1197 of file xslice.hpp.

◆ revert_index()

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

Definition at line 1185 of file xslice.hpp.

◆ size()

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

Definition at line 1167 of file xslice.hpp.

◆ step_size() [1/2]

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

Definition at line 1173 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 1179 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