对于有参数的transpose:对于三维数组,原型数组的参数应该是(0,1,2),对应的是外行,子行,子列,...
int col = mat.cols; cout << " mat.rows : " << mat.rows << endl; cout << " mat.cols : " << mat.cols << endl; //动态创建二维数组,row行col列 int **La = new int *[row]; for (int i = 0; i < row; i ++){ La[i] = new int[col]; } // 循环二维数组和mat,并将...