OpenKalman
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
OpenKalman::internal::layout_constant::mapping< Extents > Struct Template Reference

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_constant
 

Public Member Functions

constexpr mapping (const extents_type &e)
 
constexpr const extents_type & extents () const noexcept
 
template<typename... IndexTypes, std::enable_if_t<(... and std::is_convertible_v< IndexTypes, index_type >), int > = 0>
constexpr index_type operator() (IndexTypes...i) const
 
constexpr index_type required_span_size () const noexcept
 
constexpr bool is_unique () const
 
constexpr bool is_exhaustive () const
 
constexpr bool is_strided () const
 
constexpr index_type stride (std::size_t) const
 

Static Public Member Functions

static constexpr bool is_always_unique () noexcept
 
static constexpr bool is_always_exhaustive () noexcept
 
static constexpr bool is_always_strided () noexcept
 

Friends

template<class OtherExtents >
constexpr bool operator== (const mapping &lhs, const mapping< OtherExtents > &rhs) noexcept
 

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