|
dune-common 2.12-git
|
Loading...
Searching...
No Matches
layout_right.hh
Go to the documentation of this file.
3// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
A layout mapping where the leftmost extent has stride 1.
Definition layout_left.hh:20
A layout where the rightmost extent has stride 1, and strides increase right-to-left as the product o...
Definition fwd_layouts.hh:30
A layout mapping where the rightmost extent has stride 1.
Definition layout_right.hh:20
constexpr const extents_type & extents() const noexcept
Definition layout_right.hh:86
constexpr index_type operator()() const noexcept
The default offset for rank-0 tensors is 0.
Definition layout_right.hh:105
constexpr mapping & operator=(const mapping &) noexcept=default
Copy-assignment for the mapping.
constexpr index_type required_span_size() const noexcept
Definition layout_right.hh:87
constexpr mapping() noexcept=default
The default construction is possible for default constructible extents.
typename extents_type::size_type size_type
Definition layout_right.hh:25
static constexpr bool is_always_unique() noexcept
Definition layout_right.hh:110
constexpr index_type stride(rank_type i) const noexcept
The stride is the product of the extents E(n)*E(n-1)*...*E(i+1)
Definition layout_right.hh:121
static constexpr bool is_exhaustive() noexcept
Definition layout_right.hh:115
constexpr mapping(const layout_left::mapping< OtherExtents > &m) noexcept
Construct the mapping from a layout_left.
Definition layout_right.hh:58
static constexpr bool is_strided() noexcept
Definition layout_right.hh:116
typename extents_type::rank_type rank_type
Definition layout_right.hh:26
static constexpr bool is_always_strided() noexcept
Definition layout_right.hh:112
static constexpr bool is_unique() noexcept
Definition layout_right.hh:114
friend constexpr bool operator==(const mapping &a, const mapping< OtherExtents > &b) noexcept
Definition layout_right.hh:131
static constexpr bool is_always_exhaustive() noexcept
Definition layout_right.hh:111
typename extents_type::index_type index_type
Definition layout_right.hh:27
A layout mapping where the strides are user-defined.
Definition layout_stride.hh:21
constexpr const extents_type & extents() const noexcept
Definition layout_stride.hh:87
constexpr const strides_type & strides() const noexcept
Get the array of all strides.
Definition layout_stride.hh:129
T front(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8