Error 1 error : too many parameters forthisoperator function
I understand that since Values is just a vector it doesn't like to accept two arguments.
Does anyone knows how to overcome this?
I am using Intel C++ with Visual Studio 2010
But due to some limitation of Intel MKL I have to have my matrix in one singe vector all together to use some functions, so I am trying to accommodate normal use of matrix and ability to call some functions from Intel MKL
It is enough to have subscript operator for one index. Only you should return a reference to one dimensional array provided that inside your class there is a two-dimensional array as a data member.