D
d major
Hello, everyone.
I want to implement a Matrix class for numeric computing, just like
this:
class myMatrix{
public:
myMatrix(int m,int n);
...
private:
size_t row,col;
double **mat;
};
So, if I instantiate a matrix
myMatrix T;
how can I override this operator '[ ][ ]' s.t. T[j] can be used?
By the way, could you share your instance of matrix for me?
I want to implement a Matrix class for numeric computing, just like
this:
class myMatrix{
public:
myMatrix(int m,int n);
...
private:
size_t row,col;
double **mat;
};
So, if I instantiate a matrix
myMatrix T;
how can I override this operator '[ ][ ]' s.t. T[j] can be used?
By the way, could you share your instance of matrix for me?