Boost multiarray: a short cheat sheet
Suppose you're writing some C++ code and you want a function to return a 2D array. How do you do it?
The answer is: don't do it. Instead, use boost's multiarray class (although xtensor looks interesting).
To make a 2D array in C++, with shape (NxM),...
astro.hashnode.dev2 min read