N-Dimensional Rotation Matrix Generation Algorithm: March 2018
N-Dimensional Rotation Matrix Generation Algorithm: March 2018
net/publication/323995682
CITATIONS READS
4 175
1 author:
Ognyan Zhelezov
3 PUBLICATIONS 4 CITATIONS
SEE PROFILE
All content following this page was uploaded by Ognyan Zhelezov on 25 March 2018.
Abstract This article presents a new algorithm for generation of N-dimensional rotation matrix M, which rotates given
N-dimensional vector X to the direction of given vector Y which has the same dimension. Algorithm, named
N-dimensional Rotation Matrix Generation Algorithm (NRMG) includes rotation of given vectors X and Y to the direction
of coordinate axis x1 using two-dimensional rotations. Matrix M is obtained as multiplication of matrix M X and inverse of
matrix MY, which rotates given vectors to the direction of axis x1. Also examined is the possibility to perform parallel cal-
culations of two-dimensional rotations.
Keywords Mathematics of computing , Mathematical analysis , Numerical analysis , Computations on matrices
xk xk cos k sin k xk
Ak , k 1, k . .
xk 1 xk 1 sin k cos k xk 1
(5)
Figure 4 Schema for rotation of vector X, separated into two parts, to the
direction of axis x1
Figure 7 Schema for rotation of 8-dimensional vector X to the direction of vector Y using NRMG algorithm and AR.
For test data has been used the following two images:
REFERENCES
[1] H. G. Golub, J. M. Ortega, 1993, Scientific Computing and
Introduction with Parallel Computing, Academic Press, Inc.,
San Diego.
[2] G. A. Korn, T. M. Korn, 1961, Mathematical Handbook for
Scientists and Engineers (1st ed.), New York: McGraw-Hill.
pp. 55–79.
Figure 8 Test images [3] H. Friedberg, A. Insel, L. Spence, 1997, Linear Algebra (3rd
ed), Prentice Hall.
Images can be presented as 64-dimensional vectors as
follows (written using Matlab Language syntax for row [4] D. A. Harville, 1997, Matrix Algebra from Statistician’s
vectors): Perspective, Softcover.
[5] B. Buchberger, 1985, Multidimensional Systems Theory -
X =[0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 Progress Directions and Open Problems in Multidimensional
00001111000010010000100100000000 Systems, Reidel Publishing Company.
0 0]; [6] G. H. Golub, C. F. Van Loan, , 1996, Matrix Computations,
Y =[0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 4rd edition. Johns Horkins University Press, Baltimore
00001111000010000000100000000000
0 0 ]; [7] M. Cosnard, Y. Robert. Complexity of parallel QR factoriza-
tion. J. ACM 33, 4 (August 1986), 712-723.
DOI=10.1145/6490.214102, 1986.
Test program, given above, obtain vector Z to the direction
of vector Y using NRMG algorithm, and compare vectors Z [8] A. H. Sameh, D. J. Kuck. On Stable Parallel Linear System
and Y. Program displays message “Z and Y are identical”, Solvers. J. ACM 25, 1 (January 1978), 81-91. DOI=
http://dx.doi.org/10.1145/322047.322054, 1978.
which shows that two vectors (and corresponding images)
[9] N. J. Higham, 1996, Accuracy and Stability of Numerical
Algorithms, SIAM, Philadelfia.
[10] G. W.Steward, 1976, The economical storage of plane rota-
tions, Numer. Math, 25, 2 1976, 137-139
[11] Matlock, H., and Reese, L.C., 1960, Generalized solutions for
laterally loaded piles., Journal of Soil Mechanics and Foun-
dation, 86(5), 63–91.
[12] N. K. Bose, 1985, Multidimensional Systems Theory: Pro-
gress, Directions, and Open Problems. D.Reidel Publishing
Co., Dordrecht, The Netherland.
[13] A. S. Householder, 1958, “Unitary triangularization of a
nonsimetric matrix”, J. ACM 5, 339-342, 1958.
[14] E. Anderson, 2000, “Discontinuous Plane Rotations and the
Symmetric Eigenvalue Problem” LAPACK Working Note
150, University of Tennessee, UT-CS-00-454, December 4,
2000. page 2.
[15] J. D. Foley, A. van Dam, S. K. Feiner, J. F. Hughes, 1995,
“Computer Graphics, Principles and Practice”, 2nd edition in
C, Addison-Wesley, ISBN 0-201-84840-6.
[16] G. Strang, 2006, Linear Algebra and its Applications,
Thomson Learning Ink, pages 69-135, ISBN 0-03-010567.
[17] St. Roman, Advanced Linear Algebra, second ed., 2005
Springer-Verlag, New York. pages 59-85, ISBN:
978-1-4757-2180-5
[18] J. E. Gentle, 2007, Matrix Algebra: Theory, Computations,
and Applications in Statistics, Springer, page 180, ISBN
978-0-387-70872-0
[19] I. R. Shafarevich, A. Remizov, 2013, Linear Algebra and
Geometry, Springer, pages 133-160, ISBN
978-3-642-30993-9