had_miyamoto: had_miyamoto

Description Usage Arguments Details Value References Examples

View source: R/had_miyamoto.R

Description

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

Usage

1

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

1
2
had_miyamoto(20)
had_miyamoto(24) #NULL

HadamardR documentation built on April 14, 2020, 7:01 p.m.