|
dune-common 2.10
|
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:19
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:121
typename extents_type::index_type index_type
Definition layout_left.hh:26
constexpr index_type required_span_size() const noexcept
Definition layout_left.hh:86
constexpr mapping & operator=(const mapping &) noexcept=default
Copy-assignment for the mapping.
static constexpr bool is_always_unique() noexcept
Definition layout_left.hh:110
constexpr mapping() noexcept=default
The default construction is possible for default constructible extents.
static constexpr bool is_strided() noexcept
Definition layout_left.hh:116
static constexpr bool is_always_strided() noexcept
Definition layout_left.hh:112
constexpr index_type operator()() const noexcept
The default offset for rank-0 tensors is 0.
Definition layout_left.hh:105
typename extents_type::size_type size_type
Definition layout_left.hh:24
static constexpr bool is_unique() noexcept
Definition layout_left.hh:114
constexpr mapping(const layout_right::mapping< OtherExtents > &m) noexcept
Construct the mapping from a layout_right.
Definition layout_left.hh:57
constexpr const extents_type & extents() const noexcept
Definition layout_left.hh:85
static constexpr bool is_always_exhaustive() noexcept
Definition layout_left.hh:111
typename extents_type::rank_type rank_type
Definition layout_left.hh:25
static constexpr bool is_exhaustive() noexcept
Definition layout_left.hh:115
A layout mapping where the rightmost extent has stride 1.
Definition layout_right.hh:19
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 back(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8