|
dune-common 2.12-git
|
Loading...
Searching...
No Matches
layout_left.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
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
typename extents_type::index_type index_type
Definition layout_left.hh:27
constexpr index_type required_span_size() const noexcept
Definition layout_left.hh:87
constexpr mapping & operator=(const mapping &) noexcept=default
Copy-assignment for the mapping.
static constexpr bool is_always_unique() noexcept
Definition layout_left.hh:111
constexpr mapping() noexcept=default
The default construction is possible for default constructible extents.
static constexpr bool is_strided() noexcept
Definition layout_left.hh:117
static constexpr bool is_always_strided() noexcept
Definition layout_left.hh:113
constexpr index_type operator()() const noexcept
The default offset for rank-0 tensors is 0.
Definition layout_left.hh:106
typename extents_type::size_type size_type
Definition layout_left.hh:25
static constexpr bool is_unique() noexcept
Definition layout_left.hh:115
constexpr mapping(const layout_right::mapping< OtherExtents > &m) noexcept
Construct the mapping from a layout_right.
Definition layout_left.hh:58
constexpr const extents_type & extents() const noexcept
Definition layout_left.hh:86
static constexpr bool is_always_exhaustive() noexcept
Definition layout_left.hh:112
typename extents_type::rank_type rank_type
Definition layout_left.hh:26
static constexpr bool is_exhaustive() noexcept
Definition layout_left.hh:116
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
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 back(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8