miyamotoC {HadamardR} | R Documentation |
miyamotoC
miyamotoC(n)
n |
integer (order of the matrix) |
q matrix
Miyamoto, M. (1991). A Construction of Hadamard matrices. J. Math. Phy., 12, 311-320.
miyamotoC(20)
# [,1] [,2] [,3] [,4] [,5]
#[1,] 0 1 1 -1 -1
#[2,] 1 0 -1 -1 1
#[3,] 1 -1 0 1 -1
#[4,] -1 -1 1 0 1
#[5,] -1 1 -1 1 0