xtensor
|
Public Member Functions | |
template<class... Args> | |
reference | operator() (Args... args) |
template<class... Args> | |
reference | unchecked (Args... args) |
template<class IT > | |
reference | element (IT first, IT last) |
template<class... Args> | |
const_reference | operator() (Args... args) const |
template<class... Args> | |
const_reference | unchecked (Args... args) const |
template<class IT > | |
const_reference | element (IT first, IT last) const |
template<class FCT = functor_type> | |
auto | data_element (size_type i) -> decltype(std::declval< FCT >()(std::declval< undecay_expression >().data_element(i))) |
template<class FCT = functor_type> | |
auto | data_element (size_type i) const -> decltype(std::declval< FCT >()(std::declval< const undecay_expression >().data_element(i))) |
template<class FCT = functor_type> | |
auto | flat (size_type i) -> decltype(std::declval< FCT >()(std::declval< undecay_expression >().flat(i))) |
template<class FCT = functor_type> | |
auto | flat (size_type i) const -> decltype(std::declval< FCT >()(std::declval< const undecay_expression >().flat(i))) |
template<class align , class requested_type = typename xexpression_type::value_type, std::size_t N = xt_simd::simd_traits<requested_type>::size, class FCT = functor_type> | |
auto | load_simd (size_type i) const -> decltype(std::declval< FCT >().template proxy_simd_load< align, requested_type, N >(std::declval< undecay_expression >(), i)) |
template<class align , class simd , class FCT = functor_type> | |
auto | store_simd (size_type i, const simd &e) -> decltype(std::declval< FCT >() .template proxy_simd_store< align >(std::declval< undecay_expression >(), i, e)) |
template<class S , layout_type L = ::xt::layout_type::row_major> | |
broadcast_iterator< S, L > | begin (const S &shape) noexcept |
template<class S , layout_type L = ::xt::layout_type::row_major> | |
broadcast_iterator< S, L > | end (const S &shape) noexcept |
template<class S , layout_type L = ::xt::layout_type::row_major> | |
const_broadcast_iterator< S, L > | begin (const S &shape) const noexcept |
template<class S , layout_type L = ::xt::layout_type::row_major> | |
const_broadcast_iterator< S, L > | end (const S &shape) const noexcept |
template<class S , layout_type L = ::xt::layout_type::row_major> | |
const_broadcast_iterator< S, L > | cbegin (const S &shape) const noexcept |
template<class S , layout_type L = ::xt::layout_type::row_major> | |
const_broadcast_iterator< S, L > | cend (const S &shape) const noexcept |
template<class S , layout_type L = ::xt::layout_type::row_major> | |
reverse_broadcast_iterator< S, L > | rbegin (const S &shape) noexcept |
template<class S , layout_type L = ::xt::layout_type::row_major> | |
reverse_broadcast_iterator< S, L > | rend (const S &shape) noexcept |
template<class S , layout_type L = ::xt::layout_type::row_major> | |
const_reverse_broadcast_iterator< S, L > | rbegin (const S &shape) const noexcept |
template<class S , layout_type L = ::xt::layout_type::row_major> | |
const_reverse_broadcast_iterator< S, L > | rend (const S &shape) const noexcept |
template<class S , layout_type L = ::xt::layout_type::row_major> | |
const_reverse_broadcast_iterator< S, L > | crbegin (const S &shape) const noexcept |
template<class S , layout_type L = ::xt::layout_type::row_major> | |
const_reverse_broadcast_iterator< S, L > | crend (const S &shape) const noexcept |
template<class S > | |
stepper | stepper_begin (const S &shape) noexcept |
template<class S > | |
stepper | stepper_end (const S &shape, layout_type l) noexcept |
template<class S > | |
const_stepper | stepper_begin (const S &shape) const noexcept |
template<class S > | |
const_stepper | stepper_end (const S &shape, layout_type l) const noexcept |
template<class... Args> | |
reference | at (Args... args) |
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... Args> | |
const_reference | at (Args... args) const |
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. | |
reference | back () |
Returns a reference to the last element of the expression. | |
const_reference | back () const |
Returns a constant reference to last the element of the expression. | |
reference | front () |
Returns a reference to the first element of the expression. | |
const_reference | front () const |
Returns a constant reference to first the element of the expression. | |
template<class... Args> | |
reference | periodic (Args... args) |
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 | periodic (Args... args) const |
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). | |
Constructors | |
xfunctor_applier_base (undecay_expression) noexcept | |
Constructs an xfunctor_applier_base expression wrappering the specified xt::xexpression. | |
template<class Func , class E > | |
xfunctor_applier_base (Func &&, E &&) noexcept | |
Constructs an xfunctor_applier_base expression wrappering the specified xt::xexpression. | |
Size and shape | |
size_type | size () const noexcept |
Returns the size of the expression. | |
const inner_shape_type & | shape () const noexcept |
Returns the shape of the expression. | |
const inner_strides_type & | strides () const noexcept |
Returns the strides of the expression. | |
const inner_backstrides_type & | backstrides () const noexcept |
Returns the backstrides of the expression. | |
layout_type | layout () const noexcept |
Returns the layout_type of the expression. | |
bool | is_contiguous () const noexcept |
Data | |
xexpression_type & | expression () noexcept |
Returns a reference to the underlying expression of the view. | |
const xexpression_type & | expression () const noexcept |
Returns a consttant reference to the underlying expression of the view. | |
template<class... Args> | |
auto | operator() (Args... args) -> reference |
Returns a reference to the element at the specified position in the expression. | |
template<class... Args> | |
auto | unchecked (Args... args) -> reference |
Returns a reference to the element at the specified position in the expression. | |
template<class IT > | |
auto | element (IT first, IT last) -> reference |
Returns a reference to the element at the specified position in the expression. | |
template<class... Args> | |
auto | operator() (Args... args) const -> const_reference |
Returns a constant reference to the element at the specified position in the expression. | |
template<class... Args> | |
auto | unchecked (Args... args) const -> const_reference |
Returns a constant reference to the element at the specified position in the expression. | |
template<class IT > | |
auto | element (IT first, IT last) const -> const_reference |
Returns a constant reference to the element at the specified position in the expression. | |
Broadcasting | |
template<class S > | |
bool | broadcast_shape (S &shape, bool reuse_cache=false) const |
Broadcast the shape of the function to the specified parameter. | |
template<class S > | |
bool | has_linear_assign (const S &strides) const |
Checks whether the xfunctor_applier_base can be linearly assigned to an expression with the specified strides. | |
Iterators | |
template<layout_type L = ::xt::layout_type::row_major> | |
auto | begin () noexcept |
Returns an iterator to the first element of the expression. | |
template<layout_type L = ::xt::layout_type::row_major> | |
auto | end () noexcept |
Returns an iterator to the element following the last element of the expression. | |
template<layout_type L = ::xt::layout_type::row_major> | |
auto | begin () const noexcept |
Returns a constant iterator to the first element of the expression. | |
template<layout_type L = ::xt::layout_type::row_major> | |
auto | end () const noexcept |
Returns a constant iterator to the element following the last element of the expression. | |
template<layout_type L = ::xt::layout_type::row_major> | |
auto | cbegin () const noexcept |
Returns a constant iterator to the first element of the expression. | |
template<layout_type L = ::xt::layout_type::row_major> | |
auto | cend () const noexcept |
Returns a constant iterator to the element following the last element of the expression. | |
Reverse iterators | |
template<layout_type L = ::xt::layout_type::row_major> | |
auto | rbegin () noexcept |
Returns an iterator to the first element of the reversed expression. | |
template<layout_type L = ::xt::layout_type::row_major> | |
auto | rend () noexcept |
Returns an iterator to the element following the last element of the reversed expression. | |
template<layout_type L = ::xt::layout_type::row_major> | |
auto | rbegin () const noexcept |
Returns a constant iterator to the first element of the reversed expression. | |
template<layout_type L = ::xt::layout_type::row_major> | |
auto | rend () const noexcept |
Returns a constant iterator to the element following the last element of the reversed expression. | |
template<layout_type L = ::xt::layout_type::row_major> | |
auto | crbegin () const noexcept |
Returns a constant iterator to the first element of the reversed expression. | |
template<layout_type L = ::xt::layout_type::row_major> | |
auto | crend () const noexcept |
Returns a constant iterator to the element following the last element of the reversed expression. | |
Reverse broadcast iterators | |
linear_iterator | linear_begin () noexcept |
linear_iterator | linear_end () noexcept |
const_linear_iterator | linear_begin () const noexcept |
const_linear_iterator | linear_end () const noexcept |
const_linear_iterator | linear_cbegin () const noexcept |
const_linear_iterator | linear_cend () const noexcept |
reverse_linear_iterator | linear_rbegin () noexcept |
reverse_linear_iterator | linear_rend () noexcept |
const_reverse_linear_iterator | linear_rbegin () const noexcept |
const_reverse_linear_iterator | linear_rend () const noexcept |
const_reverse_linear_iterator | linear_crbegin () const noexcept |
const_reverse_linear_iterator | linear_crend () const noexcept |
template<class S , layout_type L> | |
auto | rbegin (const S &shape) noexcept -> reverse_broadcast_iterator< S, L > |
Returns an iterator to the first element of the expression. | |
template<class S , layout_type L> | |
auto | rend (const S &shape) noexcept -> reverse_broadcast_iterator< S, L > |
Returns an iterator to the element following the last element of the reversed expression. | |
template<class S , layout_type L> | |
auto | rbegin (const S &shape) const noexcept -> const_reverse_broadcast_iterator< S, L > |
Returns a constant iterator to the first element of the reversed expression. | |
template<class S , layout_type L> | |
auto | rend (const S &) const noexcept -> const_reverse_broadcast_iterator< S, L > |
Returns a constant iterator to the element following the last element of the reversed expression. | |
template<class S , layout_type L> | |
auto | crbegin (const S &) const noexcept -> const_reverse_broadcast_iterator< S, L > |
Returns a constant iterator to the first element of the reversed expression. | |
template<class S , layout_type L> | |
auto | crend (const S &shape) const noexcept -> const_reverse_broadcast_iterator< S, L > |
Returns a constant iterator to the element following the last element of the reversed expression. | |
template<class S > | |
auto | stepper_begin (const S &shape) noexcept -> stepper |
template<class S > | |
auto | stepper_end (const S &shape, layout_type l) noexcept -> stepper |
template<class S > | |
auto | stepper_begin (const S &shape) const noexcept -> const_stepper |
template<class S > | |
auto | stepper_end (const S &shape, layout_type l) const noexcept -> const_stepper |
Broadcast iterators | |
template<class S , layout_type L> | |
auto | begin (const S &shape) noexcept -> broadcast_iterator< S, L > |
Returns a constant iterator to the first element of the expression. | |
template<class S , layout_type L> | |
auto | end (const S &shape) noexcept -> broadcast_iterator< S, L > |
Returns a constant iterator to the element following the last element of the expression. | |
template<class S , layout_type L> | |
auto | begin (const S &shape) const noexcept -> const_broadcast_iterator< S, L > |
Returns a constant iterator to the first element of the expression. | |
template<class S , layout_type L> | |
auto | end (const S &shape) const noexcept -> const_broadcast_iterator< S, L > |
Returns a constant iterator to the element following the last element of the expression. | |
template<class S , layout_type L> | |
auto | cbegin (const S &shape) const noexcept -> const_broadcast_iterator< S, L > |
Returns a constant iterator to the first element of the expression. | |
template<class S , layout_type L> | |
auto | cend (const S &shape) const noexcept -> const_broadcast_iterator< S, L > |
Returns a constant iterator to the element following the last element of the expression. | |
Static Public Attributes | |
static constexpr layout_type | static_layout = xexpression_type::static_layout |
static constexpr bool | contiguous_layout = xexpression_type::contiguous_layout |
Protected Attributes | |
undecay_expression | m_e |
functor_type | m_functor |
Friends | |
class | xaccessible< D > |
class | xconst_accessible< D > |
Definition at line 73 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::accessible_base = xaccessible<D> |
Definition at line 82 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::backstrides_type |
Definition at line 100 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::bool_load_type = xt::bool_load_type<value_type> |
Definition at line 115 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::broadcast_iterator = xfunctor_iterator<functor_type, xiterator<typename xexpression_type::stepper, S, L>> |
Definition at line 140 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::const_broadcast_iterator |
Definition at line 142 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::const_iterator = xfunctor_iterator<const functor_type, typename xexpression_type::const_iterator> |
Definition at line 163 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::const_layout_iterator |
Definition at line 126 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::const_linear_iterator = xfunctor_iterator<const functor_type, typename xexpression_type::const_linear_iterator> |
Definition at line 156 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::const_pointer = typename functor_type::const_pointer |
Definition at line 91 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::const_reference = typename inner_types::const_reference |
Definition at line 89 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::const_reverse_broadcast_iterator |
Definition at line 151 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::const_reverse_iterator = xfunctor_iterator<const functor_type, typename xexpression_type::const_reverse_iterator> |
Definition at line 165 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::const_reverse_layout_iterator |
Definition at line 135 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::const_reverse_linear_iterator |
Definition at line 158 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::const_stepper = xfunctor_stepper<const functor_type, typename xexpression_type::const_stepper> |
Definition at line 121 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::difference_type = typename xexpression_type::difference_type |
Definition at line 93 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::expression_tag = typename extension_base::expression_tag |
Definition at line 85 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::extension_base = extension::xfunctor_view_base_t<functor_type, undecay_expression> |
Definition at line 84 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::functor_type = typename inner_types::functor_type |
Definition at line 81 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::inner_backstrides_type |
Definition at line 110 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::inner_shape_type = typename xexpression_type::inner_shape_type |
Definition at line 105 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::inner_strides_type |
Definition at line 106 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::inner_types = xcontainer_inner_types<D> |
Definition at line 78 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::iterator = xfunctor_iterator<functor_type, typename xexpression_type::iterator> |
Definition at line 162 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::layout_iterator = xfunctor_iterator<functor_type, typename xexpression_type::template layout_iterator<L>> |
Definition at line 124 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::linear_iterator = xfunctor_iterator<functor_type, typename xexpression_type::linear_iterator> |
Definition at line 155 of file xfunctor_view.hpp.
Definition at line 90 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::reference = typename inner_types::reference |
Definition at line 88 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::reverse_broadcast_iterator |
Definition at line 147 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::reverse_iterator = xfunctor_iterator<functor_type, typename xexpression_type::reverse_iterator> |
Definition at line 164 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::reverse_layout_iterator |
Definition at line 131 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::reverse_linear_iterator = xfunctor_iterator<functor_type, typename xexpression_type::reverse_linear_iterator> |
Definition at line 157 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::self_type = xfunctor_applier_base<D> |
Definition at line 77 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::shape_type = typename xexpression_type::shape_type |
Definition at line 95 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::size_type = typename inner_types::size_type |
Definition at line 92 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::stepper = xfunctor_stepper<functor_type, typename xexpression_type::stepper> |
Definition at line 120 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::strides_type |
Definition at line 96 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::undecay_expression = typename inner_types::undecay_expression |
Definition at line 80 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::value_type = typename functor_type::value_type |
Definition at line 87 of file xfunctor_view.hpp.
using xt::xfunctor_applier_base< D >::xexpression_type = typename inner_types::xexpression_type |
Definition at line 79 of file xfunctor_view.hpp.
|
inlineexplicitnoexcept |
Constructs an xfunctor_applier_base expression wrappering the specified xt::xexpression.
e | the underlying expression |
Definition at line 679 of file xfunctor_view.hpp.
|
inlinenoexcept |
Constructs an xfunctor_applier_base expression wrappering the specified xt::xexpression.
func | the functor to be applied to the elements of the underlying expression. |
e | the underlying expression |
Definition at line 693 of file xfunctor_view.hpp.
|
inline |
Returns a reference to the element at the specified position in the expression, after dimension and bounds checking.
args | a list of indices specifying the position in the expression. Indices must be unsigned integers, the number of indices should be equal to the number of dimensions of the expression. |
std::out_of_range | if the number of argument is greater than the number of dimensions or if indices are out of bounds. |
Definition at line 274 of file xaccessible.hpp.
|
inline |
Returns a constant reference to the element at the specified position in the expression, after dimension and bounds checking.
args | a list of indices specifying the position in the expression. Indices must be unsigned integers, the number of indices should be equal to the number of dimensions of the expression. |
std::out_of_range | if the number of argument is greater than the number of dimensions or if indices are out of bounds. |
Definition at line 111 of file xaccessible.hpp.
|
inline |
Returns a reference to the last element of the expression.
Definition at line 109 of file xaccessible.hpp.
|
inline |
Returns a constant reference to last the element of the expression.
Definition at line 113 of file xaccessible.hpp.
|
inlinenoexcept |
Returns the backstrides of the expression.
Definition at line 736 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns a constant iterator to the first element of the expression.
L | order used for the traversal. Default value is XTENSOR_DEFAULT_TRAVERSAL . |
Definition at line 962 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns an iterator to the first element of the expression.
L | order used for the traversal. Default value is XTENSOR_DEFAULT_TRAVERSAL . |
Definition at line 936 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns a constant iterator to the first element of the expression.
The iteration is broadcasted to the specified shape.
shape | the shape used for broadcasting |
S | type of the shape parameter. |
L | order used for the traversal. Default value is XTENSOR_DEFAULT_TRAVERSAL . |
Definition at line 1051 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns a constant iterator to the first element of the expression.
The iteration is broadcasted to the specified shape.
shape | the shape used for broadcasting |
S | type of the shape parameter. |
L | order used for the traversal. Default value is XTENSOR_DEFAULT_TRAVERSAL . |
Definition at line 1023 of file xfunctor_view.hpp.
|
inline |
Broadcast the shape of the function to the specified parameter.
shape | the result shape |
reuse_cache | boolean for reusing a previously computed shape |
Definition at line 906 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns a constant iterator to the first element of the expression.
L | order used for the traversal. Default value is XTENSOR_DEFAULT_TRAVERSAL . |
Definition at line 985 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns a constant iterator to the first element of the expression.
The iteration is broadcasted to the specified shape.
shape | the shape used for broadcasting |
S | type of the shape parameter. |
L | order used for the traversal. Default value is XTENSOR_DEFAULT_TRAVERSAL . |
Definition at line 1080 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns a constant iterator to the element following the last element of the expression.
L | order used for the traversal. Default value is XTENSOR_DEFAULT_TRAVERSAL . |
Definition at line 1000 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns a constant iterator to the element following the last element of the expression.
The iteration is broadcasted to the specified shape.
shape | the shape used for broadcasting |
S | type of the shape parameter. |
L | order used for the traversal. Default value is XTENSOR_DEFAULT_TRAVERSAL . |
Definition at line 1095 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns a constant iterator to the first element of the reversed expression.
L | order used for the traversal. Default value is XTENSOR_DEFAULT_TRAVERSAL . |
Definition at line 1164 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns a constant iterator to the first element of the reversed expression.
The iteration is broadcasted to the specified shape.
shape | the shape used for broadcasting |
S | type of the shape parameter. |
L | order used for the traversal. Default value is XTENSOR_DEFAULT_TRAVERSAL . |
Definition at line 1260 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns a constant iterator to the element following the last element of the reversed expression.
L | order used for the traversal. Default value is XTENSOR_DEFAULT_TRAVERSAL . |
Definition at line 1179 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns a constant iterator to the element following the last element of the reversed expression.
shape | the shape used for broadcasting |
S | type of the shape parameter. |
L | order used for the traversal. Default value is XTENSOR_DEFAULT_TRAVERSAL . |
Definition at line 1275 of file xfunctor_view.hpp.
|
inline |
Definition at line 218 of file xfunctor_view.hpp.
|
inline |
Definition at line 225 of file xfunctor_view.hpp.
|
inline |
Returns a reference to the element at the specified position in the expression.
first | iterator starting the sequence of indices |
last | iterator ending the sequence of indices The number of indices in the sequence should be equal to or greater than the number of dimensions of the function. |
Definition at line 812 of file xfunctor_view.hpp.
|
inline |
Returns a constant reference to the element at the specified position in the expression.
first | iterator starting the sequence of indices |
last | iterator ending the sequence of indices The number of indices in the sequence should be equal to or greater than the number of dimensions of the function. |
Definition at line 868 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns a constant iterator to the element following the last element of the expression.
L | order used for the traversal. Default value is XTENSOR_DEFAULT_TRAVERSAL . |
Definition at line 974 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns an iterator to the element following the last element of the expression.
L | order used for the traversal. Default value is XTENSOR_DEFAULT_TRAVERSAL . |
Definition at line 951 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns a constant iterator to the element following the last element of the expression.
The iteration is broadcasted to the specified shape.
shape | the shape used for broadcasting |
S | type of the shape parameter. |
L | order used for the traversal. Default value is XTENSOR_DEFAULT_TRAVERSAL . |
Definition at line 1066 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns a constant iterator to the element following the last element of the expression.
The iteration is broadcasted to the specified shape.
shape | the shape used for broadcasting |
S | type of the shape parameter. |
L | order used for the traversal. Default value is XTENSOR_DEFAULT_TRAVERSAL . |
Definition at line 1037 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns a consttant reference to the underlying expression of the view.
Definition at line 887 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns a reference to the underlying expression of the view.
Definition at line 878 of file xfunctor_view.hpp.
|
inline |
Definition at line 232 of file xfunctor_view.hpp.
|
inline |
Definition at line 238 of file xfunctor_view.hpp.
|
inline |
Returns a reference to the first element of the expression.
Definition at line 108 of file xaccessible.hpp.
|
inline |
Returns a constant reference to first the element of the expression.
Definition at line 114 of file xaccessible.hpp.
|
inline |
Checks whether the xfunctor_applier_base can be linearly assigned to an expression with the specified strides.
Definition at line 919 of file xfunctor_view.hpp.
|
inlinenoexcept |
Definition at line 751 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns the layout_type of the expression.
Definition at line 745 of file xfunctor_view.hpp.
|
inlinenoexcept |
Definition at line 1296 of file xfunctor_view.hpp.
|
inlinenoexcept |
Definition at line 1284 of file xfunctor_view.hpp.
|
inlinenoexcept |
Definition at line 1308 of file xfunctor_view.hpp.
|
inlinenoexcept |
Definition at line 1314 of file xfunctor_view.hpp.
|
inlinenoexcept |
Definition at line 1344 of file xfunctor_view.hpp.
|
inlinenoexcept |
Definition at line 1350 of file xfunctor_view.hpp.
|
inlinenoexcept |
Definition at line 1302 of file xfunctor_view.hpp.
|
inlinenoexcept |
Definition at line 1290 of file xfunctor_view.hpp.
|
inlinenoexcept |
Definition at line 1332 of file xfunctor_view.hpp.
|
inlinenoexcept |
Definition at line 1320 of file xfunctor_view.hpp.
|
inlinenoexcept |
Definition at line 1338 of file xfunctor_view.hpp.
|
inlinenoexcept |
Definition at line 1326 of file xfunctor_view.hpp.
|
inline |
Definition at line 251 of file xfunctor_view.hpp.
|
inline |
Returns a reference to the element at the specified position in the expression.
args | a list of indices specifying the position in the function. Indices must be unsigned integers, the number of indices should be equal or greater than the number of dimensions of the expression. |
Definition at line 770 of file xfunctor_view.hpp.
|
inline |
Returns a constant reference to the element at the specified position in the expression.
args | a list of indices specifying the position in the function. Indices must be unsigned integers, the number of indices should be equal or greater than the number of dimensions of the expression. |
Definition at line 826 of file xfunctor_view.hpp.
|
inline |
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).
args | a list of indices specifying the position in the expression. Indices must be integers, the number of indices should be equal to the number of dimensions of the expression. |
Definition at line 315 of file xaccessible.hpp.
|
inline |
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).
args | a list of indices specifying the position in the expression. Indices must be integers, the number of indices should be equal to the number of dimensions of the expression. |
Definition at line 115 of file xaccessible.hpp.
|
inlinenoexcept |
Returns a constant iterator to the first element of the reversed expression.
L | order used for the traversal. Default value is XTENSOR_DEFAULT_TRAVERSAL . |
Definition at line 1141 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns an iterator to the first element of the reversed expression.
L | order used for the traversal. Default value is XTENSOR_DEFAULT_TRAVERSAL . |
Definition at line 1112 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns a constant iterator to the first element of the reversed expression.
The iteration is broadcasted to the specified shape.
shape | the shape used for broadcasting |
S | type of the shape parameter. |
L | order used for the traversal. Default value is XTENSOR_DEFAULT_TRAVERSAL . |
Definition at line 1230 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns an iterator to the first element of the expression.
The iteration is broadcasted to the specified shape.
shape | the shape used for broadcasting |
S | type of the shape parameter. |
L | order used for the traversal. Default value is XTENSOR_DEFAULT_TRAVERSAL . |
Definition at line 1202 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns a constant iterator to the element following the last element of the reversed expression.
L | order used for the traversal. Default value is XTENSOR_DEFAULT_TRAVERSAL . |
Definition at line 1153 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns an iterator to the element following the last element of the reversed expression.
L | order used for the traversal. Default value is XTENSOR_DEFAULT_TRAVERSAL . |
Definition at line 1127 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns a constant iterator to the element following the last element of the reversed expression.
shape | the shape used for broadcasting |
S | type of the shape parameter. |
L | order used for the traversal. Default value is XTENSOR_DEFAULT_TRAVERSAL . |
Definition at line 1245 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns an iterator to the element following the last element of the reversed expression.
The iteration is broadcasted to the specified shape.
shape | the shape used for broadcasting |
S | type of the shape parameter. |
L | order used for the traversal. Default value is XTENSOR_DEFAULT_TRAVERSAL . |
Definition at line 1216 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns the shape of the expression.
Definition at line 718 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns the size of the expression.
Definition at line 709 of file xfunctor_view.hpp.
|
inlinenoexcept |
Definition at line 1375 of file xfunctor_view.hpp.
Definition at line 1361 of file xfunctor_view.hpp.
|
inlinenoexcept |
Definition at line 1383 of file xfunctor_view.hpp.
|
inlinenoexcept |
Definition at line 1368 of file xfunctor_view.hpp.
|
inline |
Definition at line 261 of file xfunctor_view.hpp.
|
inlinenoexcept |
Returns the strides of the expression.
Definition at line 727 of file xfunctor_view.hpp.
|
inline |
Returns a reference to the element at the specified position in the expression.
args | a list of indices specifying the position in the expression. Indices must be unsigned integers, the number of indices must be equal to the number of dimensions of the expression, else the behavior is undefined. |
Definition at line 798 of file xfunctor_view.hpp.
|
inline |
Returns a constant reference to the element at the specified position in the expression.
args | a list of indices specifying the position in the expression. Indices must be unsigned integers, the number of indices must be equal to the number of dimensions of the expression, else the behavior is undefined. |
Definition at line 854 of file xfunctor_view.hpp.
Definition at line 352 of file xfunctor_view.hpp.
Definition at line 352 of file xfunctor_view.hpp.
|
staticconstexpr |
Definition at line 118 of file xfunctor_view.hpp.
|
protected |
Definition at line 351 of file xfunctor_view.hpp.
|
protected |
Definition at line 352 of file xfunctor_view.hpp.
|
staticconstexpr |
Definition at line 117 of file xfunctor_view.hpp.