The following dynamic array contains a non-symmetric n*n matrix (with n <=100):
int **matrix;
matrix = new int*[n];
for (int i = 0; i < n; i++)
matrix[i] = new int[n];
Is there an extremely easy way to invert it? Ideally I'd only use something from the STL or download a single header file.