I have to work with a large matrix in Mathematica. Instead of writing to the elements by using coordinates, i.e. [i,j], I wish to enumerate the entries starting from e.g. the lower left corner with 1, 2, 3, etc all the way up to the upper right entry.
Is there a smart way to do that? I thought of using MatrixForm on a 1D list, but I would have to split it up somehow, and I am not sure MatrixForm can do that.