Grid2D
is a simple one-header templated gridclass in two dimensions. The two template arguments are
a) the value type `T`
b) the ordering (`utils::row_major`, `utils::column_major`) in `Ordering`.
Include the header file (#include "Grid2D.hpp"
), then compile your program normally - see usage.cpp
for an example.
See usage.cpp