xtensor
Loading...
Searching...
No Matches
xt::xview_semantic< D > Class Template Reference

Implementation of the xsemantic_base interface for multidimensional views. More...

#include <xsemantic.hpp>

Inheritance diagram for xt::xview_semantic< D >:
xt::xsemantic_base< D > xt::xdynamic_view< uvt, S, L, typename FST::template rebind_t< uvt > > xt::xdynamic_view< uft, S, L, typename FST::template rebind_t< uft > > xt::xdynamic_view< ucvt, S, L, typename FST::template rebind_t< ucvt > > xt::xdynamic_view< ucft, S, L, typename FST::template rebind_t< ucft > > xt::xdynamic_view< CT, S, L, FST > xt::xdynamic_view< E, S, L, typename FST::template rebind_t< E > > xt::xfunctor_view< F, uvt > xt::xfunctor_view< F, ucvt > xt::xfunctor_view< F, E > xt::xindex_view< uvt, I > xt::xindex_view< uft, I > xt::xindex_view< ucvt, I > xt::xindex_view< ucft, I > xt::xindex_view< E, I > xt::xstrided_view< uvt, S, L, typename FST::template rebind_t< uvt > > xt::xstrided_view< uft, S, L, typename FST::template rebind_t< uft > > xt::xstrided_view< ucvt, S, L, typename FST::template rebind_t< ucvt > > xt::xstrided_view< ucft, S, L, typename FST::template rebind_t< ucft > > xt::xstrided_view< CT, shape_type > xt::xstrided_view< CT, S, L, FST > xt::xstrided_view< E, S, L, typename FST::template rebind_t< E > > xt::xtensor_view< EC, N, L, xoptional_expression_tag > xt::xview< uvt, S... > xt::xview< uft, S... > xt::xview< ucvt, S... > xt::xview< ucft, S... > xt::xview< UnderlyingContainer, Slices... > xt::xview< E, S... > xt::xdynamic_view< CT, S, L, FST > xt::xstrided_view< CT, S, L, FST >

Public Types

using base_type = xsemantic_base<D>
using derived_type = D
using temporary_type = typename base_type::temporary_type
Public Types inherited from xt::xsemantic_base< D >
using base_type = select_expression_base_t<D>
using derived_type = typename base_type::derived_type
using temporary_type = typename xcontainer_inner_types<D>::temporary_type

Protected Member Functions

 xview_semantic (const xview_semantic &)=default
xview_semantic & operator= (const xview_semantic &)=default
 xview_semantic (xview_semantic &&)=default
xview_semantic & operator= (xview_semantic &&)=default
Protected Member Functions inherited from xt::xsemantic_base< D >
 xsemantic_base (const xsemantic_base &)=default
xsemantic_base & operator= (const xsemantic_base &)=default
 xsemantic_base (xsemantic_base &&)=default
xsemantic_base & operator= (xsemantic_base &&)=default
template<class E>
derived_type & operator= (const xexpression< E > &)

Assign functions

derived_type & assign_temporary (temporary_type &&)
 Assigns the temporary tmp to *this.
template<class E>
derived_type & assign_xexpression (const xexpression< E > &e)
template<class E>
derived_type & computed_assign (const xexpression< E > &e)
template<class E, class F>
derived_type & scalar_computed_assign (const E &e, F &&f)
template<class E>
derived_type & operator= (const xexpression< E > &)

Additional Inherited Members

Public Member Functions inherited from xt::xsemantic_base< D >
template<class E>
disable_xexpression< E, derived_type & > operator+= (const E &)
 Adds the scalar e to *this.
template<class E>
disable_xexpression< E, derived_type & > operator-= (const E &)
 Subtracts the scalar e from *this.
template<class E>
disable_xexpression< E, derived_type & > operator*= (const E &)
 Multiplies *this with the scalar e.
template<class E>
disable_xexpression< E, derived_type & > operator/= (const E &)
 Divides *this by the scalar e.
template<class E>
disable_xexpression< E, derived_type & > operator%= (const E &)
 Computes the remainder of *this after division by the scalar e.
template<class E>
disable_xexpression< E, derived_type & > operator&= (const E &)
 Computes the bitwise and of *this and the scalar e and assigns it to *this.
template<class E>
disable_xexpression< E, derived_type & > operator|= (const E &)
 Computes the bitwise or of *this and the scalar e and assigns it to *this.
template<class E>
disable_xexpression< E, derived_type & > operator^= (const E &)
 Computes the bitwise xor of *this and the scalar e and assigns it to *this.
template<class E>
derived_type & operator+= (const xexpression< E > &)
 Adds the xexpression e to *this.
template<class E>
derived_type & operator-= (const xexpression< E > &)
 Subtracts the xexpression e from *this.
template<class E>
derived_type & operator*= (const xexpression< E > &)
 Multiplies *this with the xexpression e.
template<class E>
derived_type & operator/= (const xexpression< E > &)
 Divides *this by the xexpression e.
template<class E>
derived_type & operator%= (const xexpression< E > &)
 Computes the remainder of *this after division by the xexpression e.
template<class E>
derived_type & operator&= (const xexpression< E > &)
 Computes the bitwise and of *this and the xexpression e and assigns it to *this.
template<class E>
derived_type & operator|= (const xexpression< E > &)
 Computes the bitwise or of *this and the xexpression e and assigns it to *this.
template<class E>
derived_type & operator^= (const xexpression< E > &)
 Computes the bitwise xor of *this and the xexpression e and assigns it to *this.
template<class E>
derived_type & assign (const xexpression< E > &)
 Assigns the xexpression e to *this.
template<class E>
derived_type & plus_assign (const xexpression< E > &)
 Adds the xexpression e to *this.
template<class E>
derived_type & minus_assign (const xexpression< E > &)
 Subtracts the xexpression e to *this.
template<class E>
derived_type & multiplies_assign (const xexpression< E > &)
 Multiplies *this with the xexpression e.
template<class E>
derived_type & divides_assign (const xexpression< E > &)
 Divides *this by the xexpression e.
template<class E>
derived_type & modulus_assign (const xexpression< E > &)
 Computes the remainder of *this after division by the xexpression e.
template<class E>
derived_type & bit_and_assign (const xexpression< E > &)
 Computes the bitwise and of e to *this.
template<class E>
derived_type & bit_or_assign (const xexpression< E > &)
 Computes the bitwise or of e to *this.
template<class E>
derived_type & bit_xor_assign (const xexpression< E > &)
 Computes the bitwise xor of e to *this.

Detailed Description

template<class D>
class xt::xview_semantic< D >

Implementation of the xsemantic_base interface for multidimensional views.

The xview_semantic is an implementation of the xsemantic_base interface for multidimensional views.

Template Parameters
Dthe derived type

Definition at line 254 of file xsemantic.hpp.

Member Typedef Documentation

◆ base_type

template<class D>
using xt::xview_semantic< D >::base_type = xsemantic_base<D>

Definition at line 258 of file xsemantic.hpp.

◆ derived_type

template<class D>
using xt::xview_semantic< D >::derived_type = D

Definition at line 259 of file xsemantic.hpp.

◆ temporary_type

template<class D>
using xt::xview_semantic< D >::temporary_type = typename base_type::temporary_type

Definition at line 260 of file xsemantic.hpp.

Member Function Documentation

◆ assign_temporary()

template<class D>
auto xt::xview_semantic< D >::assign_temporary ( temporary_type && tmp)
inline

Assigns the temporary tmp to *this.

Parameters
tmpthe temporary to assign.
Returns
a reference to *this.

Definition at line 698 of file xsemantic.hpp.

◆ assign_xexpression()

template<class D>
template<class E>
auto xt::xview_semantic< D >::assign_xexpression ( const xexpression< E > & e) -> derived_type &
inline

Definition at line 726 of file xsemantic.hpp.

◆ computed_assign()

template<class D>
template<class E>
auto xt::xview_semantic< D >::computed_assign ( const xexpression< E > & e) -> derived_type &
inline

Definition at line 735 of file xsemantic.hpp.

◆ operator=()

template<class D>
template<class E>
auto xt::xview_semantic< D >::operator= ( const xexpression< E > & rhs) -> derived_type &
inlineprotected

Definition at line 775 of file xsemantic.hpp.

◆ scalar_computed_assign()

template<class D>
template<class E, class F>
auto xt::xview_semantic< D >::scalar_computed_assign ( const E & e,
F && f ) -> derived_type &
inline

Definition at line 759 of file xsemantic.hpp.


The documentation for this class was generated from the following file:
  • /home/runner/work/xtensor/xtensor/include/xtensor/core/xsemantic.hpp