I have this matrix:
1 2 3
4 5 6
and I transpose the matrix:
1 4
2 5
3 6
How can I get the original matrix back, after the transpose?
"untranspose" =
1 2 3
4 5 6
I am making a simple cryptographic algorithm in Java and need that to solve that problem.