arrays – Matrix as struct in C, how to make easy access

I want to create a struct which would be able to has a lot of params about matrix, so for example i have

struct matrix{
int rows;
int cols;
double** data; }A;

and i want to make not a[x][y] , but a A[x][y] =[x][y] for easy access. Any ideas?