Given the vector of the counter-diagonals of the matrix in the matrix, is there an easy way to reconstruct the matrix?
For example, given
x = [1 2 3 4 5 6 7 8 9]
Is there any easy way to restore it to the next?
1 2 4 3 5 7 6 8 9
This is simplified a bit due to the fact that the dimensions of the source block are known. The reconstruction of rotation or transposition of the original matrix is ββexcellent, as rotation and transfer are easily reversed. Faster is better, this calculation should be performed on many x s.
Thanks!
source share