#include #include #include // for pow function using namespace std; typedef vector Dvector; typedef vector Dmatrix; Dmatrix GetA(){ Dmatrix grid; int number(0); string matrixa; string matrixacopy(""); cout<< "Numbers in matrix A: "; getline(cin,matrixa); matrixa+=" "; matrixacopy+=matrixa; while (matrixacopy.find(" ") != -1) { number+=1; matrixacopy.erase(0,(matrixacopy.find(" "))+1); } for (int r=0; r dummy; grid.push_back(dummy); for(int c=0;c