|
dune-common 2.10
|
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:19
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:19
constexpr const extents_type & extents() const noexcept
Definition layout_right.hh:85
constexpr index_type operator()() const noexcept
The default offset for rank-0 tensors is 0.
Definition layout_right.hh:104
constexpr mapping & operator=(const mapping &) noexcept=default
Copy-assignment for the mapping.
constexpr index_type required_span_size() const noexcept
Definition layout_right.hh:86
constexpr mapping() noexcept=default
The default construction is possible for default constructible extents.
typename extents_type::size_type size_type
Definition layout_right.hh:24
static constexpr bool is_always_unique() noexcept
Definition layout_right.hh:109
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:120
static constexpr bool is_exhaustive() noexcept
Definition layout_right.hh:114
constexpr mapping(const layout_left::mapping< OtherExtents > &m) noexcept
Construct the mapping from a layout_left.
Definition layout_right.hh:57
static constexpr bool is_strided() noexcept
Definition layout_right.hh:115
typename extents_type::rank_type rank_type
Definition layout_right.hh:25
static constexpr bool is_always_strided() noexcept
Definition layout_right.hh:111
static constexpr bool is_unique() noexcept
Definition layout_right.hh:113
friend constexpr bool operator==(const mapping &a, const mapping< OtherExtents > &b) noexcept
Definition layout_right.hh:130
static constexpr bool is_always_exhaustive() noexcept
Definition layout_right.hh:110
typename extents_type::index_type index_type
Definition layout_right.hh:26
A layout mapping where the strides are user-defined.
Definition layout_stride.hh:19
constexpr const extents_type & extents() const noexcept
Definition layout_stride.hh:85
constexpr const strides_type & strides() const noexcept
Get the array of all strides.
Definition layout_stride.hh:127
T front(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8