Opening the book…
Orthogonal matrix:
In linear algebra, an orthogonal matrix, or orthonormal matrix, is a real square matrix whose columns and rows are orthonormal vectors.... Wikipedia: Orthogonal matrix
The function
The determinant of an orthonormal matrix is equal to 1 or -1.
The inverse of an orthonormal matrix is its transpose.
The product the two orthonormal matrices is orthonormal.
To solve an orthonormal system you can multiply the transpose of A by b. In fact, you are simply calculating the dot product of the rows of the transpose of A by the column b, instead of solving a linear system.
Code study
- r_Q_mR();
- orth_mR(); Gram-Schmidt algorithm
The book could not be loaded just now.