Post Reply 
Matrix Rotation of elements - Algorithms
12-12-2019, 02:37 PM
Post: #1
Matrix Rotation of elements - Algorithms
For no particular reason I've been looking into some matrix operations not mainstream, such as the element rotation, or "layer rotation". Note this is not the same as the "Rotation Matrix" used in transfromations theory - [ or is it? Somehow these two are begging to be connected in my mind... ]

Surely some scarce references exist (see here, here, and here) but I wonder if friendlier algorithms have been worked out that allow for an easier implementation using our trusted toolset in the Advantage and SandMatrix modules...

So to clarify, I'm after a single-element rotation algorithm, either clockwise or anti-clockwise. Rotating the entire matrix 90 degrees is actually very simple using the transpose and column swapping , but a single element is much harder.

Anyy inputs will be appreciated.

"To live or die by your own sword one must first learn to wield it aptly."
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Matrix Rotation of elements - Algorithms - Ángel Martin - 12-12-2019 02:37 PM



User(s) browsing this thread: 1 Guest(s)