Hello everybody.
Just a query (in fact two)
I have a reasonably huge matrix type data which is to be used via some other calculations, In the matrix are values of 1s, 0s and -1s which will appear in random and the actual i-jth position is important.
Is it any good to have a vector of pointers and will this be faster than some 'matrix' form?
the second query is about the best way (faster) you'd think to have matrix data stored. I've used
vector<vector<double>>
normally, This can be around C or C++ although i am using C++ at the moment.
Just a few sentences and a direction will suffice, examples are a bonus to me :)
Thank you in advance coders