had_miyamoto {HadamardR}R Documentation

had_miyamoto

Description

had_miyamoto function perform the construction of the Hadamard matrix by using the Miyamoto method

Usage

had_miyamoto(n)

Arguments

n

integer (order of the matrix)

Details

If the q=n/4, and q be a prime power and q=1 (mod 4). If there is a exists of Hadamard matrix of order q-1, then there exists an Hadamard matrix of order 4q. If given order is not satisfied it returns NULL.

Value

Hadamard matrix of n

References

Miyamoto, M. (1991). A Construction of Hadamard matrices. J. Math. Phy., 12, 311-320.

Examples

had_miyamoto(20)
had_miyamoto(24) #NULL


[Package HadamardR version 1.0.0 Index]