HP Forums
(50G) Quaternions: Convert to a 2 x 2 matrix form - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Software Libraries (/forum-10.html)
+--- Forum: General Software Library (/forum-13.html)
+--- Thread: (50G) Quaternions: Convert to a 2 x 2 matrix form (/thread-4224.html)



(50G) Quaternions: Convert to a 2 x 2 matrix form - Eddie W. Shore - 06-25-2015 02:56 AM

Input: A, B, C, D on stacks 4 through 1, respectively

QTM:
<< -> A B C D
<< A B R->C C D R->C
C NEG D R->C A B R->C CONJ
{2, 2} ->ARRY >> >>


For more details, please visit my blog at: http://edspi31415.blogspot.com/2015/06/hp-prime-and-hp-50g-quaternions.html