xtensor
 
Loading...
Searching...
No Matches
xt::strided_assign_detail::check_strides_functor< L, S > Struct Template Reference

Public Types

using strides_type = S
 

Public Member Functions

 check_strides_functor (const S &strides)
 
template<class T, layout_type LE = L>
std::enable_if_t< LE==layout_type::row_major, std::size_t > operator() (const T &el)
 
template<class T, layout_type LE = L>
std::enable_if_t< LE==layout_type::column_major, std::size_t > operator() (const T &el)
 
template<class T>
std::size_t operator() (const xt::xscalar< T > &)
 
template<class F, class... CT>
std::size_t operator() (const xt::xfunction< F, CT... > &xf)
 

Detailed Description

template<layout_type L, class S>
struct xt::strided_assign_detail::check_strides_functor< L, S >

Definition at line 958 of file xassign.hpp.

Member Typedef Documentation

◆ strides_type

template<layout_type L, class S>
using xt::strided_assign_detail::check_strides_functor< L, S >::strides_type = S

Definition at line 960 of file xassign.hpp.

Constructor & Destructor Documentation

◆ check_strides_functor()

template<layout_type L, class S>
xt::strided_assign_detail::check_strides_functor< L, S >::check_strides_functor ( const S & strides)
inline

Definition at line 962 of file xassign.hpp.

Member Function Documentation

◆ operator()() [1/4]

template<layout_type L, class S>
template<class T, layout_type LE = L>
std::enable_if_t< LE==layout_type::row_major, std::size_t > xt::strided_assign_detail::check_strides_functor< L, S >::operator() ( const T & el)
inline

Definition at line 969 of file xassign.hpp.

◆ operator()() [2/4]

template<layout_type L, class S>
template<class T, layout_type LE = L>
std::enable_if_t< LE==layout_type::column_major, std::size_t > xt::strided_assign_detail::check_strides_functor< L, S >::operator() ( const T & el)
inline

Definition at line 981 of file xassign.hpp.

◆ operator()() [3/4]

template<layout_type L, class S>
template<class F, class... CT>
std::size_t xt::strided_assign_detail::check_strides_functor< L, S >::operator() ( const xt::xfunction< F, CT... > & xf)
inline

Definition at line 999 of file xassign.hpp.

◆ operator()() [4/4]

template<layout_type L, class S>
template<class T>
std::size_t xt::strided_assign_detail::check_strides_functor< L, S >::operator() ( const xt::xscalar< T > & )
inline

Definition at line 993 of file xassign.hpp.


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