OpenKalman
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
std::experimental::layout_stride::mapping< Extents > Class Template Reference
Inheritance diagram for std::experimental::layout_stride::mapping< Extents >:
Inheritance graph
[legend]
Collaboration diagram for std::experimental::layout_stride::mapping< Extents >:
Collaboration graph
[legend]

Public Types

using extents_type = Extents
 
using index_type = typename extents_type::index_type
 
using size_type = typename extents_type::size_type
 
using rank_type = typename extents_type::rank_type
 
using layout_type = layout_stride
 

Public Member Functions

MDSPAN_INLINE_FUNCTION_DEFAULTED constexpr mapping (mapping const &) noexcept=default
 
 MDSPAN_TEMPLATE_REQUIRES (class IntegralTypes,(_MDSPAN_TRAIT(is_convertible, const remove_const_t< IntegralTypes > &, typename Extents::index_type) &&)) MDSPAN_INLINE_FUNCTION const expr mapping(extents_type const &e
 
array< IntegralTypes, extents_type::rank()> const &s __strides_storage_t (__impl::fill_strides(s)))})
 
 MDSPAN_TEMPLATE_REQUIRES (class StridedLayoutMapping,(_MDSPAN_TRAIT(is_constructible, extents_type, typename StridedLayoutMapping::extents_type) &&detail::__is_mapping_of< typename StridedLayoutMapping::layout_type, StridedLayoutMapping > &&StridedLayoutMapping::is_always_unique() &&StridedLayoutMapping::is_always_strided())) MDSPAN_CONDITIONAL_EXPLICIT((!is_convertible< typename StridedLayoutMapping
 
MDSPAN_INLINE_FUNCTION_DEFAULTED _MDSPAN_CONSTEXPR_14_DEFAULTED mappingoperator= (mapping const &) noexcept=default
 
MDSPAN_INLINE_FUNCTION constexpr const extents_type & extents () const noexcept
 
MDSPAN_INLINE_FUNCTION constexpr array< index_type, extents_type::rank() > strides () const noexcept
 
MDSPAN_INLINE_FUNCTION constexpr index_type required_span_size () const noexcept
 
 MDSPAN_TEMPLATE_REQUIRES (class... Indices,(sizeof...(Indices)==Extents::rank() &&_MDSPAN_FOLD_AND(_MDSPAN_TRAIT(is_convertible, Indices, index_type)) &&)) MDSPAN_FORCE_INLINE_FUNCTION const expr index_type operator()(Indices... idxs) const noexcept
 
MDSPAN_INLINE_FUNCTION _MDSPAN_CONSTEXPR_14 bool is_exhaustive () const noexcept
 
MDSPAN_INLINE_FUNCTION constexpr index_type stride (rank_type r) const noexcept
 

Static Public Member Functions

static MDSPAN_INLINE_FUNCTION constexpr bool is_always_unique () noexcept
 
static MDSPAN_INLINE_FUNCTION constexpr bool is_always_exhaustive () noexcept
 
static MDSPAN_INLINE_FUNCTION constexpr bool is_always_strided () noexcept
 
static MDSPAN_INLINE_FUNCTION constexpr bool is_unique () noexcept
 
static MDSPAN_INLINE_FUNCTION constexpr bool is_strided () noexcept
 

Public Attributes

array< IntegralTypes, extents_type::rank()> const &s noexcept: __base_t(__base_t{__member_pair_t( e
 

Friends

template<class >
class mapping
 

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