{"title":"An Algorithm for Generating N-Dimensional Rotation Matrix","authors":"Ognyan Ivanov Zhelezov","doi":"10.9734/BPI/CTMCS/V6/3301F","DOIUrl":null,"url":null,"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.","PeriodicalId":364643,"journal":{"name":"Current Topics on Mathematics and Computer Science Vol. 6","volume":"79 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-07-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Current Topics on Mathematics and Computer Science Vol. 6","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.9734/BPI/CTMCS/V6/3301F","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
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.