|
Uni20
Asynchronous tensor and runtime library.
|
Opaque logical block-selection coordinates in boundary order. More...
#include <block_key.hpp>
Public Member Functions | |
| constexpr | BlockKey ()=default |
| Construct the all-zero coordinate. | |
| constexpr | BlockKey (std::array< std::size_t, CoordinateCount > coordinates) |
| Construct from one coordinate per selectable boundary factor. | |
| constexpr auto | coordinate (std::size_t axis) const -> std::size_t |
| Return one factor coordinate. | |
| auto | operator<=> (BlockKey const &) const =default |
| Compare block coordinates lexicographically. | |
Static Public Member Functions | |
| static constexpr auto | size () noexcept -> std::size_t |
| Return the compile-time number of stored coordinates. | |
Opaque logical block-selection coordinates in boundary order.
Only boundary spaces with a selectable structural choice contribute a coordinate. Fixed QNumSpace and DenseSpace factors do not.
| CoordinateCount | Number of stored block-selection coordinates. |
|
constexprdefault |
Construct the all-zero coordinate.
|
inlineexplicitconstexpr |
Construct from one coordinate per selectable boundary factor.
| coordinates | Coordinate-bearing domain factors followed by coordinate-bearing codomain factors. |
|
inlineconstexpr |
Return one factor coordinate.
| axis | Position among coordinate-bearing factors in filtered domain-then-codomain order. |
|
default |
Compare block coordinates lexicographically.
|
inlinestaticconstexprnoexcept |
Return the compile-time number of stored coordinates.