An Algorithm for Generating N-Dimensional Rotation Matrix

Authors

  • Ognyan Ivanov Zhelezov Nikola Vaptsarov Naval Academy, Varna, 9000, Bulgaria.

DOI:

https://doi.org/10.9734/bpi/ctmcs/v6/3301F

Keywords:

Mathematics of computing, mathematical analysis, numerical analysis, computations on matrices

Abstract

This paper describes a new algorithm for generating an N-dimensional rotation matrix M that rotates a given N-dimensional vector X in the direction of a given N-dimensional vector Y of the same dimension. The N-dimensional Rotation Matrix Generation Algorithm (NRMG) uses two-dimensional rotations to rotate provided vectors X and Y in the direction of coordinate axis x1. Matrix M is created by multiplying matrix MX by the inverse of matrix MY, which rotates the given vectors in the direction of axis x1. RMG algorithm does not determine how the Mx and My matrices are calculated. An algorithm for their calculation using rotations in the coordinate planes is proposed, but they can also be obtained by the Householder transformation, which will be more efficient for "dense" vectors. The prospect of performing parallel calculations of two-dimensional rotations is also investigated.

Published

2021-07-21

How to Cite

Ognyan Ivanov Zhelezov. (2021). An Algorithm for Generating N-Dimensional Rotation Matrix . Current Topics on Mathematics and Computer Science Vol. 6, 15–28. https://doi.org/10.9734/bpi/ctmcs/v6/3301F