|
dune-common 2.12-git
|
Loading...
Searching...
No Matches
layout_right_padded.hh
Go to the documentation of this file.
3// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
112 std::enable_if_t<std::is_constructible_v<extents_type, typename OtherMapping::extents_type>, int> = 0>
151 static constexpr bool is_always_exhaustive () noexcept { return PaddingValue == std::dynamic_extent; }
A layout mapping where the leftmost extent has stride 1.
Definition layout_left.hh:20
constexpr index_type stride(rank_type i) const noexcept
The stride is the product of the extents E(0)*E(1)*...*E(i-1)
Definition layout_left.hh:122
constexpr const extents_type & extents() const noexcept
Definition layout_left.hh:86
A layout mapping where the rightmost extent has stride 1.
Definition layout_right.hh:20
A layout mapping where the strides are user-defined.
Definition layout_stride.hh:21
A layout mapping where the rightmost extent has stride 1 and the next-to-last stride may be padded.
Definition fwd_layouts.hh:66
A right layout mapping with optional padding of the next-to-last stride.
Definition layout_right_padded.hh:52
constexpr mapping(const layout_stride::mapping< OtherExtents > &m) noexcept
Definition layout_right_padded.hh:97
Extents extents_type
Definition layout_right_padded.hh:54
constexpr mapping(const OtherMapping &m) noexcept
Definition layout_right_padded.hh:113
constexpr index_type required_span_size() const noexcept
Definition layout_right_padded.hh:122
static constexpr bool is_always_exhaustive() noexcept
Definition layout_right_padded.hh:151
static constexpr bool is_always_unique() noexcept
Definition layout_right_padded.hh:150
typename extents_type::rank_type rank_type
Definition layout_right_padded.hh:57
constexpr bool is_strided() const noexcept
Definition layout_right_padded.hh:155
constexpr bool is_unique() const noexcept
Definition layout_right_padded.hh:154
constexpr mapping(const layout_right::mapping< OtherExtents > &m) noexcept
Definition layout_right_padded.hh:84
constexpr bool is_exhaustive() const noexcept
Definition layout_right_padded.hh:156
typename extents_type::size_type size_type
Definition layout_right_padded.hh:56
typename extents_type::index_type index_type
Definition layout_right_padded.hh:55
static constexpr bool is_always_strided() noexcept
Definition layout_right_padded.hh:152
constexpr mapping(const extents_type &e, OtherIndexType padding) noexcept
Definition layout_right_padded.hh:73
constexpr const extents_type & extents() const noexcept
Definition layout_right_padded.hh:120
constexpr index_type stride(rank_type r) const noexcept
Definition layout_right_padded.hh:163
constexpr mapping() noexcept=default
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8