Many thanks for the Sparse Matrix formulation. This is very interesting. And the code compiles without any problems.
Type: Posts; User: FortranLevelC++
Many thanks for the Sparse Matrix formulation. This is very interesting. And the code compiles without any problems.
Thanks a lot!
Thanks a lot for the comments.
The above choice N=15 was only for illustration purposes. So far I have not yet used more than 4 layers of vectors, and probably the N will never exceed 7.
But I...
Hello,
I suspect that C++11 would make it possible to declare high rank vectors such as
int N = 15; // chosen arbitrary rank
vector<vector<vector<...<vector<double>>>>..> vec; // N layers...