I have some C++ code where I am declaring 2D arrays using "vector" with the following method:
std::vector<std::vector<double>> Array2D(X, std::vector<double>Y);
where X and Y are the dimensions of the array.
This works beautifully for what I need to achieve. However I would like to look at using the same method for 3D, XYZ arrays. I assume I start with:
std::vector<std::vector<std::vector<double>>>
but how do I declare the dimensions, ie Array3D(X, ?????)