auto b = new double[][3][](M, N);
That doesn't compile, I don't know why. The D array syntax allocation syntax is a bit of a mess. So to do that you have to write:
auto b = new double[][3][](N); Or: auto b = new double[][3][N];And then fill the arrays with a loop. Why is no one complaining about this array allocation syntax?
Bye, bearophile
