|
dune-common 2.12-git
|
Loading...
Searching...
No Matches
submdspan.hh
Go to the documentation of this file.
3// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
decltype(auto) constexpr unpackIntegerSequence(F &&f, std::integer_sequence< I, i... > sequence)
Unpack an std::integer_sequence<I,i...> to std::integral_constant<I,i>...
Definition indices.hh:124
constexpr auto submdspan_mapping(const Mapping &mapping, SliceSpecifiers... slices)
Create the mapping and source-data offset produced by slicing a layout mapping.
Definition submdspan.hh:112
constexpr auto subextents(const extents< IndexType, exts... > &src, SliceSpecifiers... slices)
Return the extents produced by slicing a source extents object.
Definition submdspan.hh:86
constexpr auto submdspan(const mdspan< ElementType, Extents, LayoutPolicy, AccessorPolicy > &src, SliceSpecifiers... slices)
Create an mdspan view by slicing an existing mdspan.
Definition submdspan.hh:128
Multidimensional index space with dynamic and static extents.
Definition extents.hh:55
constexpr const accessor_type & accessor() const noexcept
The accessor policy object.
Definition mdspan.hh:296
constexpr const mapping_type & mapping() const noexcept
Index mapping of a layout policy.
Definition mdspan.hh:293
constexpr const data_handle_type & data_handle() const noexcept
The pointer to the underlying flat sequence.
Definition mdspan.hh:299
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8