Transforming a matrix into a system of equations
I have a n×n matrix that I would like to transform into a system of n equations (for n disctinct variables). I am not sure how to proceed (the end goal being to solve the system eventually). The number of variables is not fixed. Should I consider every row of the lattice and map each coefficient cij to a string that I write as "c11x1+.....+c1n−1xn+c1n. I am hoping there exists a more direct solution. Thanks!