Transpositions matrix ( matrix) is square matrix, , , which elements are obtained from the elements of given n-dimensional vector as follows: , where denotes operation "bitwiseExclusive or" (XOR). The rows and columns of transpositions matrix consists permutation of elements of vector , as there are n/2 transpositions between every two rows or columns of the matrix
Example
The figure below shows Transpositions matrix of order 8, created from arbitrary vector
matrix is persymmetric matrix, i.e. it is symmetric with respect to the northeast-to-southwest diagonal too.
Every one row and column of matrix consists all n elements of given vector without repetition.
Every two rows matrix consists fours of elements with the same values of the diagonal elements. In example if and are two arbitrary selected elements from the same column q of matrix, then, matrix consists one fours of elements , for which are satisfied the equations and . This property, named “Tr-property” is specific to matrices.
Fours of elements in Tr matrix
The figure on the right shows some fours of elements in matrix.
Transpositions matrix with mutually orthogonal rows (Trs matrix)
The property of fours of matrices gives the possibility to create matrix with mutually orthogonal rows ( matrix ) by changing the sign to an odd number
of elements in every one of fours , . In [5] is offered algorithm for creating matrix using Hadamard product, (denoted by ) of Tr matrix and n-dimensional Hadamard matrix whose rows (except the first one) are rearranged relative to the rows of Sylvester-Hadamard matrix in order , for which the rows of the resulting Trs matrix are mutually orthogonal.
is n-dimensional Hadamard matrix, which rows are interchanged against the Sylvester-Hadamard[4] matrix in given order for which the rows of the resulting matrix are mutually orthogonal.
is the vector from which the elements of matrix are derived.
It is important to note, that the ordering R of Hadamard matrix’s rows (against the Sylvester-Hadamard matrix) does not depend on the vector . Has been proven[5], that, if is unit vector (i.e. ), then matrix (obtained as it was described above) is matrix of reflection.
Example of obtaining Trs matrix
Transpositions matrix with mutually orthogonal rows ( matrix) of order 4 for vector is obtained as:
where is matrix, obtained from vector , and "" denotes operation Hadamard product and is n-dimensional Identity matrix.
[5] gives as examples code of a Matlab functions that creates and matrices for a given vector of size n = 2, 4, or 8. Stay open question is it possible to create matrices of size, greater than 8.
References
Harville, D. A. (1997). Matrix Algebra from Statistician’s Perspective. Softcover.
Horn, Roger A.; Johnson, Charles R. (2013), Matrix analysis (2nd ed.), Cambridge University Press, ISBN978-0-521-54823-6
Zhelezov O. I (2021). "Determination of a Special Case of Symmetric Matrices and Their Applications". Current Topics on Mathematics and Computer Science Vol. 6, 29–45.