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> |
![]() | |
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 |
template<class... Args> | |
auto | operator() (Args...) noexcept -> reference |
template<class... Args> | |
auto | unchecked (Args...) noexcept -> reference |
template<class... Args> | |
auto | operator() (Args...) const noexcept -> const_reference |
template<class... Args> | |
auto | unchecked (Args...) const noexcept -> const_reference |
template<class It> | |
auto | element (It, It) noexcept -> reference |
template<class It> | |
auto | element (It, It) const noexcept -> const_reference |
template<layout_type L> | |
auto | begin () noexcept -> iterator |
template<layout_type L> | |
auto | end () noexcept -> iterator |
template<layout_type L> | |
auto | begin () const noexcept -> const_iterator |
template<layout_type L> | |
auto | end () const noexcept -> const_iterator |
template<layout_type L> | |
auto | cbegin () const noexcept -> const_iterator |
template<layout_type L> | |
auto | cend () const noexcept -> const_iterator |
template<layout_type L> | |
auto | rbegin () noexcept -> reverse_iterator |
template<layout_type L> | |
auto | rend () noexcept -> reverse_iterator |
template<layout_type L> | |
auto | rbegin () const noexcept -> const_reverse_iterator |
template<layout_type L> | |
auto | rend () const noexcept -> const_reverse_iterator |
template<layout_type L> | |
auto | crbegin () const noexcept -> const_reverse_iterator |
template<layout_type L> | |
auto | crend () const noexcept -> const_reverse_iterator |
template<class S, layout_type L> | |
auto | begin (const S &shape) noexcept -> broadcast_iterator< S, L > |
template<class S, layout_type L> | |
auto | end (const S &shape) noexcept -> broadcast_iterator< S, L > |
template<class S, layout_type L> | |
auto | begin (const S &shape) const noexcept -> const_broadcast_iterator< S, L > |
template<class S, layout_type L> | |
auto | end (const S &shape) const noexcept -> const_broadcast_iterator< S, L > |
template<class S, layout_type L> | |
auto | cbegin (const S &shape) const noexcept -> const_broadcast_iterator< S, L > |
template<class S, layout_type L> | |
auto | cend (const S &shape) const noexcept -> const_broadcast_iterator< S, L > |
template<class S, layout_type L> | |
auto | rbegin (const S &shape) noexcept -> reverse_broadcast_iterator< S, L > |
template<class S, layout_type L> | |
auto | rend (const S &shape) noexcept -> reverse_broadcast_iterator< S, L > |
template<class S, layout_type L> | |
auto | rbegin (const S &shape) const noexcept -> const_reverse_broadcast_iterator< S, L > |
template<class S, layout_type L> | |
auto | rend (const S &shape) const noexcept -> const_reverse_broadcast_iterator< S, L > |
template<class S, layout_type L> | |
auto | crbegin (const S &shape) const noexcept -> const_reverse_broadcast_iterator< S, L > |
template<class S, layout_type L> | |
auto | crend (const S &shape) const noexcept -> const_reverse_broadcast_iterator< S, L > |
template<class S> | |
auto | stepper_begin (const S &) noexcept -> stepper |
template<class S> | |
auto | stepper_end (const S &, layout_type) noexcept -> stepper |
template<class S> | |
auto | stepper_begin (const S &) const noexcept -> const_stepper |
template<class S> | |
auto | stepper_end (const S &, layout_type) const noexcept -> const_stepper |
template<class align, class requested_type, std::size_t N> | |
auto | load_simd (size_type) const -> xt_simd::simd_return_type< value_type, requested_type > |
reference | at (Args... args) |
const_reference | at (Args... args) const |
disable_integral_t< S, reference > | operator[] (const S &index) |
reference | operator[] (std::initializer_list< I > index) |
reference | operator[] (size_type i) |
disable_integral_t< S, const_reference > | operator[] (const S &index) const |
const_reference | operator[] (std::initializer_list< I > index) const |
const_reference | operator[] (size_type i) const |
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. | |
reference | periodic (Args... args) |
const_reference | periodic (Args... args) const |
![]() | |
derived_type & | derived_cast () &noexcept |
Returns a reference to the actual derived type of the xexpression. | |
const derived_type & | derived_cast () const &noexcept |
Returns a constant reference to the actual derived type of the xexpression. | |
derived_type | derived_cast () &&noexcept |
Returns a constant 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 | |
![]() | |
xsharable_expression (const xsharable_expression &)=default | |
xsharable_expression (xsharable_expression &&)=default | |
xsharable_expression & | operator= (const xsharable_expression &)=default |
xsharable_expression & | operator= (xsharable_expression &&)=default |
![]() | |
xexpression (const xexpression &)=default | |
xexpression (xexpression &&)=default | |
xexpression & | operator= (const xexpression &)=default |
xexpression & | operator= (xexpression &&)=default |
Definition at line 86 of file xscalar.hpp.
using xt::xscalar< CT >::accessible_base = xaccessible<self_type> |
Definition at line 96 of file xscalar.hpp.
using xt::xscalar< CT >::bool_load_type = xt::bool_load_type<value_type> |
Definition at line 108 of file xscalar.hpp.
using xt::xscalar< CT >::broadcast_iterator = typename iterable_base::template broadcast_iterator<S, L> |
Definition at line 128 of file xscalar.hpp.
using xt::xscalar< CT >::const_broadcast_iterator = typename iterable_base::template const_broadcast_iterator<S, L> |
Definition at line 130 of file xscalar.hpp.
using xt::xscalar< CT >::const_dummy_iterator = xdummy_iterator<true, CT> |
Definition at line 143 of file xscalar.hpp.
using xt::xscalar< CT >::const_iterator = const value_type* |
Definition at line 138 of file xscalar.hpp.
using xt::xscalar< CT >::const_layout_iterator = typename iterable_base::template const_layout_iterator<L> |
Definition at line 120 of file xscalar.hpp.
using xt::xscalar< CT >::const_pointer = const value_type* |
Definition at line 104 of file xscalar.hpp.
using xt::xscalar< CT >::const_reference = typename inner_types::const_reference |
Definition at line 102 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 135 of file xscalar.hpp.
using xt::xscalar< CT >::const_reverse_iterator = std::reverse_iterator<const_iterator> |
Definition at line 140 of file xscalar.hpp.
using xt::xscalar< CT >::const_reverse_layout_iterator = typename iterable_base::template const_reverse_layout_iterator<L> |
Definition at line 125 of file xscalar.hpp.
using xt::xscalar< CT >::const_stepper = typename iterable_base::const_stepper |
Definition at line 115 of file xscalar.hpp.
using xt::xscalar< CT >::difference_type = std::ptrdiff_t |
Definition at line 106 of file xscalar.hpp.
using xt::xscalar< CT >::dummy_iterator = xdummy_iterator<false, CT> |
Definition at line 142 of file xscalar.hpp.
using xt::xscalar< CT >::expression_tag = typename extension_base::expression_tag |
Definition at line 97 of file xscalar.hpp.
using xt::xscalar< CT >::extension_base = extension::xscalar_base_t<CT> |
Definition at line 95 of file xscalar.hpp.
using xt::xscalar< CT >::inner_shape_type = typename iterable_base::inner_shape_type |
Definition at line 111 of file xscalar.hpp.
using xt::xscalar< CT >::inner_types = xcontainer_inner_types<self_type> |
Definition at line 98 of file xscalar.hpp.
using xt::xscalar< CT >::iterable_base = xiterable<self_type> |
Definition at line 110 of file xscalar.hpp.
using xt::xscalar< CT >::iterator = value_type* |
Definition at line 137 of file xscalar.hpp.
using xt::xscalar< CT >::layout_iterator = typename iterable_base::template layout_iterator<L> |
Definition at line 118 of file xscalar.hpp.
using xt::xscalar< CT >::pointer = value_type* |
Definition at line 103 of file xscalar.hpp.
using xt::xscalar< CT >::reference = typename inner_types::reference |
Definition at line 101 of file xscalar.hpp.
using xt::xscalar< CT >::reverse_broadcast_iterator = typename iterable_base::template reverse_broadcast_iterator<S, L> |
Definition at line 133 of file xscalar.hpp.
using xt::xscalar< CT >::reverse_iterator = std::reverse_iterator<iterator> |
Definition at line 139 of file xscalar.hpp.
using xt::xscalar< CT >::reverse_layout_iterator = typename iterable_base::template reverse_layout_iterator<L> |
Definition at line 123 of file xscalar.hpp.
using xt::xscalar< CT >::self_type = xscalar<CT> |
Definition at line 93 of file xscalar.hpp.
using xt::xscalar< CT >::shape_type = inner_shape_type |
Definition at line 112 of file xscalar.hpp.
using xt::xscalar< CT >::simd_value_type = xt_simd::simd_type<value_type> |
Definition at line 107 of file xscalar.hpp.
using xt::xscalar< CT >::size_type = typename inner_types::size_type |
Definition at line 105 of file xscalar.hpp.
using xt::xscalar< CT >::stepper = typename iterable_base::stepper |
Definition at line 114 of file xscalar.hpp.
using xt::xscalar< CT >::value_type = typename inner_types::value_type |
Definition at line 100 of file xscalar.hpp.
using xt::xscalar< CT >::xexpression_type = std::decay_t<CT> |
Definition at line 94 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 496 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 502 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 636 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 622 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 724 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 710 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 608 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 650 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 738 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 657 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 745 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 692 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 780 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 699 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 787 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 923 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 917 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 905 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 893 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 911 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 899 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 589 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 582 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 643 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 629 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 731 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 717 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 601 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 595 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 935 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 929 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 615 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 545 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 539 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 805 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 793 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 817 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 823 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 853 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 859 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 811 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 799 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 841 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 829 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 847 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 835 of file xscalar.hpp.
|
inline |
Definition at line 949 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 514 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 508 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 567 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 552 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 678 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 664 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 766 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 752 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 685 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 671 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 773 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 759 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 526 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 533 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 520 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 880 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 866 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 887 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 873 of file xscalar.hpp.
|
inline |
Definition at line 942 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 575 of file xscalar.hpp.
|
inlinenoexcept |
Definition at line 560 of file xscalar.hpp.
|
friend |
Definition at line 296 of file xscalar.hpp.
|
friend |
Definition at line 296 of file xscalar.hpp.
|
friend |
Definition at line 296 of file xscalar.hpp.
Definition at line 296 of file xscalar.hpp.
|
staticconstexpr |
Definition at line 146 of file xscalar.hpp.
|
staticconstexpr |
Definition at line 145 of file xscalar.hpp.