|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Iterate a 2D lattice in W x H tiles.
More...
#include <ca-traits.H>
Static Public Attributes | |
| static constexpr std::size_t | width = W |
| static constexpr std::size_t | height = H |
Iterate a 2D lattice in W x H tiles.
Tiles are visited in row-major order over the tile grid, and the cells inside each tile are visited row-major as well. Useful as a cache-friendly schedule for the synchronous engine.
Implementations that don't have a meaningful tile interpretation (1D, 3D) fall back to RowMajor.
| W | tile width (cells along the last axis). |
| H | tile height (cells along the first axis). |
Definition at line 199 of file ca-traits.H.
|
staticconstexpr |
Definition at line 204 of file ca-traits.H.
|
staticconstexpr |
Definition at line 203 of file ca-traits.H.