Matrix Rotation of elements - Algorithms
12-17-2019, 02:22 PM
Post: #6
 Csaba Tizedes Senior Member Posts: 500 Joined: May 2014
RE: Matrix Rotation of elements - Algorithms
My first idea was that it requires something "matrix-to-list" stuff and the lists can be more flexible manipulate. (I totally agree: for matrices the BASIC is better )

The second was, how the HP 15C reorganize the elements, when I change the dimension of the matrices?!?

The third was I need only a "row-extractor" and I will use it to copy one row into list, than I transpose the matrix and again extract and transpose and extract... Or something similar, and of course I must to put back the rotated list elements with the same way: put-transpose-put-transpose...

The fourth was: this is something "walking-inside-a-spirale-labirynth": I started in the center and if I found a wall, I turn left (or right) and again until I found the last element. If I copy the values into a list during my way, I can transform my matrix into a list.

This is a good exercise, I will workin' on it - after this Friday...

Csaba
 « Next Oldest | Next Newest »

 Messages In This Thread Matrix Rotation of elements - Algorithms - Ángel Martin - 12-12-2019, 02:37 PM RE: Matrix Rotation of elements - Algorithms - Csaba Tizedes - 12-12-2019, 03:31 PM RE: Matrix Rotation of elements - Algorithms - Ángel Martin - 12-12-2019, 03:59 PM RE: Matrix Rotation of elements - Algorithms - Ángel Martin - 12-15-2019, 06:16 AM RE: Matrix Rotation of elements - Algorithms - Ángel Martin - 12-17-2019, 10:46 AM RE: Matrix Rotation of elements - Algorithms - Valentin Albillo - 12-17-2019, 04:18 PM RE: Matrix Rotation of elements - Algorithms - Ángel Martin - 12-18-2019, 06:29 AM RE: Matrix Rotation of elements - Algorithms - Csaba Tizedes - 12-17-2019 02:22 PM RE: Matrix Rotation of elements - Algorithms - Ángel Martin - 12-17-2019, 03:51 PM RE: Matrix Rotation of elements - Algorithms - Paul Dale - 12-18-2019, 07:05 AM

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