xtensor
Loading...
Searching...
No Matches
xt::xassign_traits< E1, E2 > Class Template Reference

Public Types

using e2_requested_value_type
 
using requested_value_type = detail::conditional_promote_to_complex_t<e1_value_type, e2_requested_value_type>
 

Static Public Member Functions

static constexpr bool simd_assign ()
 
static constexpr bool linear_assign (const E1 &e1, const E2 &e2, bool trivial)
 
static constexpr bool strided_assign ()
 
static constexpr bool simd_linear_assign ()
 
static constexpr bool simd_strided_assign ()
 
static constexpr bool simd_linear_assign (const E1 &e1, const E2 &e2)
 

Detailed Description

template<class E1, class E2>
class xt::xassign_traits< E1, E2 >

Definition at line 355 of file xassign.hpp.

Member Typedef Documentation

◆ e2_requested_value_type

template<class E1 , class E2 >
using xt::xassign_traits< E1, E2 >::e2_requested_value_type
Initial value:
std::
conditional_t<is_bool<e2_value_type>::value, typename E2::bool_load_type, e2_value_type>

Definition at line 437 of file xassign.hpp.

◆ requested_value_type

template<class E1 , class E2 >
using xt::xassign_traits< E1, E2 >::requested_value_type = detail::conditional_promote_to_complex_t<e1_value_type, e2_requested_value_type>

Definition at line 439 of file xassign.hpp.

Member Function Documentation

◆ linear_assign()

template<class E1 , class E2 >
static constexpr bool xt::xassign_traits< E1, E2 >::linear_assign ( const E1 & e1,
const E2 & e2,
bool trivial )
inlinestaticconstexpr

Definition at line 412 of file xassign.hpp.

◆ simd_assign()

template<class E1 , class E2 >
static constexpr bool xt::xassign_traits< E1, E2 >::simd_assign ( )
inlinestaticconstexpr

Definition at line 407 of file xassign.hpp.

◆ simd_linear_assign() [1/2]

template<class E1 , class E2 >
static constexpr bool xt::xassign_traits< E1, E2 >::simd_linear_assign ( )
inlinestaticconstexpr

Definition at line 422 of file xassign.hpp.

◆ simd_linear_assign() [2/2]

template<class E1 , class E2 >
static constexpr bool xt::xassign_traits< E1, E2 >::simd_linear_assign ( const E1 & e1,
const E2 & e2 )
inlinestaticconstexpr

Definition at line 432 of file xassign.hpp.

◆ simd_strided_assign()

template<class E1 , class E2 >
static constexpr bool xt::xassign_traits< E1, E2 >::simd_strided_assign ( )
inlinestaticconstexpr

Definition at line 427 of file xassign.hpp.

◆ strided_assign()

template<class E1 , class E2 >
static constexpr bool xt::xassign_traits< E1, E2 >::strided_assign ( )
inlinestaticconstexpr

Definition at line 417 of file xassign.hpp.


The documentation for this class was generated from the following file: