Full logical mdspec with a rank-one view of its generalized diagonal components.
More...
template<class S>
typename std::remove_cvref_t<S>::element_type>;
}
Full logical mdspec with a rank-one view of its generalized diagonal components.
Definition mdspan/concepts.hpp:465
Mdspan metadata whose data handle is immediate or available through a data descriptor.
Definition mdspan/concepts.hpp:304
An mdspec-like type with a specified static rank.
Definition mdspan/concepts.hpp:454
constexpr auto diagonal_components(stdex::mdspan< ElementType, Extents, LayoutPolicy, diagonal_accessor< ElementType, AccessorExtents > > const &span)
Expose the physically stored values of a generalized-diagonal mdspan.
Definition diagonal_accessor.hpp:252
std::size_t span
Definition presentation.cpp:2017
Full logical mdspec with a rank-one view of its generalized diagonal components.
The ordinary mdspec interface presents the complete rank-N tensor, including structural zeros away from equal logical indices. diagonal_components(span) exposes the physical rank-one values used by structure-aware kernels.
- Template Parameters
-
| S | Candidate mdspec-like type. |