A variation of mdspan
with reversed indices (distinguished by ()
).
More...
Public Member Functions | |
template<class... I> | |
constexpr decltype(auto) | operator() (I... inds) const noexcept |
Select an element of the view. | |
Public Member Functions inherited from mdbase< T, D > | |
constexpr size_type | length (Dimension i) const noexcept |
Get one size of the view. | |
template<typename U = size_type, typename = std::enable_if_t<std::is_convertible_v<U, size_type>>> | |
constexpr | mdbase (T *p, std::array< U, D > sz) noexcept |
Construct a view of a one-dimensional array. | |
A variation of mdspan
with reversed indices (distinguished by ()
).
|
constexprnoexcept |
Select an element of the view.
inds | indices (each smaller than length(0) , length(1) , …) |