|
xtensor
|
Public Types | |
| using | self_type = xscalar<CT> |
| using | xexpression_type = std::decay_t<CT> |
| using | extension_base = extension::xscalar_base_t<CT> |
| using | accessible_base = xaccessible<self_type> |
| using | expression_tag = typename extension_base::expression_tag |
| using | inner_types = xcontainer_inner_types<self_type> |
| using | value_type = typename inner_types::value_type |
| using | reference = typename inner_types::reference |
| using | const_reference = typename inner_types::const_reference |
| using | pointer = value_type* |
| using | const_pointer = const value_type* |
| using | size_type = typename inner_types::size_type |
| using | difference_type = std::ptrdiff_t |
| using | simd_value_type = xt_simd::simd_type<value_type> |
| using | bool_load_type = xt::bool_load_type<value_type> |
| using | iterable_base = xiterable<self_type> |
| using | inner_shape_type = typename iterable_base::inner_shape_type |
| using | shape_type = inner_shape_type |
| using | stepper = typename iterable_base::stepper |
| using | const_stepper = typename iterable_base::const_stepper |
| template<layout_type L> | |
| using | layout_iterator = typename iterable_base::template layout_iterator<L> |
| template<layout_type L> | |
| using | const_layout_iterator = typename iterable_base::template const_layout_iterator<L> |
| template<layout_type L> | |
| using | reverse_layout_iterator = typename iterable_base::template reverse_layout_iterator<L> |
| template<layout_type L> | |
| using | const_reverse_layout_iterator = typename iterable_base::template const_reverse_layout_iterator<L> |
| template<class S, layout_type L> | |
| using | broadcast_iterator = typename iterable_base::template broadcast_iterator<S, L> |
| template<class S, layout_type L> | |
| using | const_broadcast_iterator = typename iterable_base::template const_broadcast_iterator<S, L> |
| template<class S, layout_type L> | |
| using | reverse_broadcast_iterator = typename iterable_base::template reverse_broadcast_iterator<S, L> |
| template<class S, layout_type L> | |
| using | const_reverse_broadcast_iterator = typename iterable_base::template const_reverse_broadcast_iterator<S, L> |
| using | iterator = value_type* |
| using | const_iterator = const value_type* |
| using | reverse_iterator = std::reverse_iterator<iterator> |
| using | const_reverse_iterator = std::reverse_iterator<const_iterator> |
| using | dummy_iterator = xdummy_iterator<false, CT> |
| using | const_dummy_iterator = xdummy_iterator<true, CT> |
| Public Types inherited from xt::xexpression< xscalar< CT > > | |
| using | derived_type |
Public Member Functions | |
| xscalar (CT value) noexcept | |
| operator value_type & () noexcept | |
| operator const value_type & () const noexcept | |
| size_type | size () const noexcept |
| const shape_type & | shape () const noexcept |
| size_type | shape (size_type i) const noexcept |
| layout_type | layout () const noexcept |
| bool | is_contiguous () const noexcept |
| template<class... Args> | |
| reference | operator() (Args...) noexcept |
| template<class... Args> | |
| reference | unchecked (Args...) noexcept |
| template<class... Args> | |
| const_reference | operator() (Args...) const noexcept |
| template<class... Args> | |
| const_reference | unchecked (Args...) const noexcept |
| template<class It> | |
| reference | element (It, It) noexcept |
| template<class It> | |
| const_reference | element (It, It) const noexcept |
| xexpression_type & | expression () noexcept |
| const xexpression_type & | expression () const noexcept |
| template<class S> | |
| bool | broadcast_shape (S &shape, bool reuse_cache=false) const noexcept |
| template<class S> | |
| bool | has_linear_assign (const S &strides) const noexcept |
| template<layout_type L = ::xt::layout_type::row_major> | |
| iterator | begin () noexcept |
| template<layout_type L = ::xt::layout_type::row_major> | |
| iterator | end () noexcept |
| template<layout_type L = ::xt::layout_type::row_major> | |
| const_iterator | begin () const noexcept |
| template<layout_type L = ::xt::layout_type::row_major> | |
| const_iterator | end () const noexcept |
| template<layout_type L = ::xt::layout_type::row_major> | |
| const_iterator | cbegin () const noexcept |
| template<layout_type L = ::xt::layout_type::row_major> | |
| const_iterator | cend () const noexcept |
| template<layout_type L = ::xt::layout_type::row_major> | |
| reverse_iterator | rbegin () noexcept |
| template<layout_type L = ::xt::layout_type::row_major> | |
| reverse_iterator | rend () noexcept |
| template<layout_type L = ::xt::layout_type::row_major> | |
| const_reverse_iterator | rbegin () const noexcept |
| template<layout_type L = ::xt::layout_type::row_major> | |
| const_reverse_iterator | rend () const noexcept |
| template<layout_type L = ::xt::layout_type::row_major> | |
| const_reverse_iterator | crbegin () const noexcept |
| template<layout_type L = ::xt::layout_type::row_major> | |
| const_reverse_iterator | crend () const noexcept |
| 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 |
| iterator | linear_begin () noexcept |
| iterator | linear_end () noexcept |
| const_iterator | linear_begin () const noexcept |
| const_iterator | linear_end () const noexcept |
| const_iterator | linear_cbegin () const noexcept |
| const_iterator | linear_cend () const noexcept |
| reverse_iterator | linear_rbegin () noexcept |
| reverse_iterator | linear_rend () noexcept |
| const_reverse_iterator | linear_rbegin () const noexcept |
| const_reverse_iterator | linear_rend () const noexcept |
| const_reverse_iterator | linear_crbegin () const noexcept |
| const_reverse_iterator | linear_crend () 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 |
| dummy_iterator | dummy_begin () noexcept |
| dummy_iterator | dummy_end () noexcept |
| const_dummy_iterator | dummy_begin () const noexcept |
| const_dummy_iterator | dummy_end () const noexcept |
| reference | data_element (size_type i) noexcept |
| const_reference | data_element (size_type i) const noexcept |
| reference | flat (size_type i) noexcept |
| const_reference | flat (size_type i) const noexcept |
| template<class align, class simd = simd_value_type> | |
| void | store_simd (size_type i, const simd &e) |
| template<class align, class requested_type = value_type, std::size_t N = xt_simd::simd_traits<requested_type>::size> | |
| xt_simd::simd_return_type< value_type, requested_type > | load_simd (size_type i) const |
| reference | at (Args... args) |
| Returns a reference to the element at the specified position in the expression, after dimension and bounds checking. | |
| disable_integral_t< S, reference > | operator[] (const S &index) |
| Returns a reference to the element at the specified position in the expression. | |
| reference | operator[] (std::initializer_list< I > index) |
| reference | operator[] (size_type i) |
| reference | back () |
| Returns a reference to the last element of the expression. | |
| reference | front () |
| Returns a reference to the first element of the expression. | |
| reference | periodic (Args... args) |
| 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). | |
| Public Member Functions inherited from xt::xexpression< xscalar< CT > > | |
| derived_type & | derived_cast () &noexcept |
| Returns a reference to the actual derived type of the xexpression. | |
Static Public Attributes | |
| static constexpr layout_type | static_layout = layout_type::any |
| static constexpr bool | contiguous_layout = true |
Friends | |
| class | xconst_iterable< self_type > |
| class | xiterable< self_type > |
| class | xaccessible< self_type > |
| class | xconst_accessible< self_type > |
Additional Inherited Members | |
| Protected Member Functions inherited from xt::xsharable_expression< xscalar< CT > > | |
| xsharable_expression & | operator= (const xsharable_expression &)=default |
| Protected Member Functions inherited from xt::xexpression< xscalar< CT > > | |
| xexpression & | operator= (const xexpression &)=default |
Definition at line 85 of file xscalar.hpp.
| using xt::xscalar< CT >::accessible_base = xaccessible<self_type> |
Definition at line 95 of file xscalar.hpp.
| using xt::xscalar< CT >::bool_load_type = xt::bool_load_type<value_type> |
Definition at line 107 of file xscalar.hpp.
| using xt::xscalar< CT >::broadcast_iterator = typename iterable_base::template broadcast_iterator<S, L> |
Definition at line 127 of file xscalar.hpp.
| using xt::xscalar< CT >::const_broadcast_iterator = typename iterable_base::template const_broadcast_iterator<S, L> |
Definition at line 129 of file xscalar.hpp.
| using xt::xscalar< CT >::const_dummy_iterator = xdummy_iterator<true, CT> |
Definition at line 142 of file xscalar.hpp.
| using xt::xscalar< CT >::const_iterator = const value_type* |
Definition at line 137 of file xscalar.hpp.
| using xt::xscalar< CT >::const_layout_iterator = typename iterable_base::template const_layout_iterator<L> |
Definition at line 119 of file xscalar.hpp.
| using xt::xscalar< CT >::const_pointer = const value_type* |
Definition at line 103 of file xscalar.hpp.
| using xt::xscalar< CT >::const_reference = typename inner_types::const_reference |
Definition at line 101 of file xscalar.hpp.
| using xt::xscalar< CT >::const_reverse_broadcast_iterator = typename iterable_base::template const_reverse_broadcast_iterator<S, L> |
Definition at line 134 of file xscalar.hpp.
| using xt::xscalar< CT >::const_reverse_iterator = std::reverse_iterator<const_iterator> |
Definition at line 139 of file xscalar.hpp.
| using xt::xscalar< CT >::const_reverse_layout_iterator = typename iterable_base::template const_reverse_layout_iterator<L> |
Definition at line 124 of file xscalar.hpp.
| using xt::xscalar< CT >::const_stepper = typename iterable_base::const_stepper |
Definition at line 114 of file xscalar.hpp.
| using xt::xscalar< CT >::difference_type = std::ptrdiff_t |
Definition at line 105 of file xscalar.hpp.
| using xt::xscalar< CT >::dummy_iterator = xdummy_iterator<false, CT> |
Definition at line 141 of file xscalar.hpp.
| using xt::xscalar< CT >::expression_tag = typename extension_base::expression_tag |
Definition at line 96 of file xscalar.hpp.
| using xt::xscalar< CT >::extension_base = extension::xscalar_base_t<CT> |
Definition at line 94 of file xscalar.hpp.
| using xt::xscalar< CT >::inner_shape_type = typename iterable_base::inner_shape_type |
Definition at line 110 of file xscalar.hpp.
| using xt::xscalar< CT >::inner_types = xcontainer_inner_types<self_type> |
Definition at line 97 of file xscalar.hpp.
| using xt::xscalar< CT >::iterable_base = xiterable<self_type> |
Definition at line 109 of file xscalar.hpp.
| using xt::xscalar< CT >::iterator = value_type* |
Definition at line 136 of file xscalar.hpp.
| using xt::xscalar< CT >::layout_iterator = typename iterable_base::template layout_iterator<L> |
Definition at line 117 of file xscalar.hpp.
| using xt::xscalar< CT >::pointer = value_type* |
Definition at line 102 of file xscalar.hpp.
| using xt::xscalar< CT >::reference = typename inner_types::reference |
Definition at line 100 of file xscalar.hpp.
| using xt::xscalar< CT >::reverse_broadcast_iterator = typename iterable_base::template reverse_broadcast_iterator<S, L> |
Definition at line 132 of file xscalar.hpp.
| using xt::xscalar< CT >::reverse_iterator = std::reverse_iterator<iterator> |
Definition at line 138 of file xscalar.hpp.
| using xt::xscalar< CT >::reverse_layout_iterator = typename iterable_base::template reverse_layout_iterator<L> |
Definition at line 122 of file xscalar.hpp.
| using xt::xscalar< CT >::self_type = xscalar<CT> |
Definition at line 92 of file xscalar.hpp.
| using xt::xscalar< CT >::shape_type = inner_shape_type |
Definition at line 111 of file xscalar.hpp.
| using xt::xscalar< CT >::simd_value_type = xt_simd::simd_type<value_type> |
Definition at line 106 of file xscalar.hpp.
| using xt::xscalar< CT >::size_type = typename inner_types::size_type |
Definition at line 104 of file xscalar.hpp.
| using xt::xscalar< CT >::stepper = typename iterable_base::stepper |
Definition at line 113 of file xscalar.hpp.
| using xt::xscalar< CT >::value_type = typename inner_types::value_type |
Definition at line 99 of file xscalar.hpp.
| using xt::xscalar< CT >::xexpression_type = std::decay_t<CT> |
Definition at line 93 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 498 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 504 of file xscalar.hpp.
| reference xt::xaccessible< self_type >::at | ( | Args... | args | ) |
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 638 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 624 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 726 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 712 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 610 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 652 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 740 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 659 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 747 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 694 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 782 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 701 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 789 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 925 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 919 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 907 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 895 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 913 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 901 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 591 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 584 of file xscalar.hpp.
Definition at line 645 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 631 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 733 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 719 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 603 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 597 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 937 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 931 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 617 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 547 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 541 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 807 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 795 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 819 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 825 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 855 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 861 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 813 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 801 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 843 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 831 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 849 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 837 of file xscalar.hpp.
|
inline |
Definition at line 951 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 516 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 510 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 569 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 554 of file xscalar.hpp.
| disable_integral_t< S, reference > xt::xaccessible< self_type >::operator[] | ( | const S & | index | ) |
Returns a reference to the element at the specified position in the expression.
| index | a sequence of indices specifying the position in the expression. Indices must be unsigned integers, the number of indices in the list should be equal or greater than the number of dimensions of the expression. |
| reference xt::xaccessible< self_type >::periodic | ( | Args... | args | ) |
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 680 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 666 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 768 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 754 of file xscalar.hpp.
Definition at line 687 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 673 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 775 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 761 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 528 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 535 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 522 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 882 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 868 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 889 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 875 of file xscalar.hpp.
|
inline |
Definition at line 944 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 577 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 562 of file xscalar.hpp.
|
friend |
Definition at line 295 of file xscalar.hpp.
|
friend |
Definition at line 295 of file xscalar.hpp.
|
friend |
Definition at line 295 of file xscalar.hpp.
|
friend |
Definition at line 295 of file xscalar.hpp.
|
staticconstexpr |
Definition at line 145 of file xscalar.hpp.
|
staticconstexpr |
Definition at line 144 of file xscalar.hpp.