Since multidimensional vectors in C++ (vector<vector<vector<etc...>>>) are not necessarily rectangular, we have to find an efficient way to save them.
I use Octave/Matlab Cell arrays in order to save such multidimensional vectors.
I wrote my own libraries to that end, but I am currently migrating my code to hdf5 format on C++. Then my question is:
What is the best way to save a multidimensional vector in hdf5 format using C++?