|
template<class... Args> |
reference | at (Args... args) |
|
template<class S> |
disable_integral_t< S, reference > | operator[] (const S &index) |
|
template<class I> |
reference | operator[] (std::initializer_list< I > index) |
|
reference | operator[] (size_type i) |
|
template<class... Args> |
reference | periodic (Args... args) |
|
reference | front () |
| Returns a reference to the first element of the expression.
|
|
reference | back () |
| Returns a reference to the last element of the expression.
|
|
template<class... Args> |
auto | at (Args... args) -> reference |
| Returns a reference to the element at the specified position in the expression, after dimension and bounds checking.
|
|
template<class S> |
auto | operator[] (const S &index) -> disable_integral_t< S, reference > |
| Returns a reference to the element at the specified position in the expression.
|
|
template<class I> |
auto | operator[] (std::initializer_list< I > index) -> reference |
|
template<class... Args> |
auto | periodic (Args... args) -> reference |
| Returns a reference to the element at the specified position in the expression, after applying periodicity to the indices (negative and 'overflowing' indices are changed).
|
|
template<class... Args> |
const_reference | at (Args... args) const |
|
template<class S> |
disable_integral_t< S, const_reference > | operator[] (const S &index) const |
|
template<class I> |
const_reference | operator[] (std::initializer_list< I > index) const |
|
const_reference | operator[] (size_type i) const |
|
const_reference | back () const |
| Returns a constant reference to last the element of the expression.
|
|
const_reference | front () const |
| Returns a constant reference to first the element of the expression.
|
|
template<class... Args> |
const_reference | periodic (Args... args) const |
|
size_type | size () const noexcept |
| Returns the size of the expression.
|
|
size_type | dimension () const noexcept |
| Returns the number of dimensions of the expression.
|
|
size_type | shape (size_type index) const |
| Returns the i-th dimension of the expression.
|
|
template<class... Args> |
const_reference | at (Args... args) const |
|
template<class S> |
disable_integral_t< S, const_reference > | operator[] (const S &index) const |
|
template<class I> |
const_reference | operator[] (std::initializer_list< I > index) const |
|
const_reference | operator[] (size_type i) const |
|
template<class... Args> |
const_reference | periodic (Args... args) const |
|
template<class... Args> |
bool | in_bounds (Args... args) const |
| Returns true only if the the specified position is a valid entry in the expression.
|
|
const_reference | front () const |
| Returns a constant reference to first the element of the expression.
|
|
const_reference | back () const |
| Returns a constant reference to last the element of the expression.
|
|
template<class... Args> |
auto | at (Args... args) const -> const_reference |
| Returns a constant reference to the element at the specified position in the expression, after dimension and bounds checking.
|
|
template<class S> |
auto | operator[] (const S &index) const -> disable_integral_t< S, const_reference > |
| Returns a constant reference to the element at the specified position in the expression.
|
|
template<class I> |
auto | operator[] (std::initializer_list< I > index) const -> const_reference |
|
template<class... Args> |
auto | periodic (Args... args) const -> const_reference |
| Returns a constant reference to the element at the specified position in the expression, after applying periodicity to the indices (negative and 'overflowing' indices are changed).
|
|
template<class D>
class xt::xaccessible< D >
Base class for implementation of common expression access methods.
The xaccessible class implements access methods common to all expressions.
- Template Parameters
-
D | The derived type, i.e. the inheriting class for which xaccessible provides the interface. |
Definition at line 87 of file xaccessible.hpp.