miyamotoC: miyamotoC

Description Usage Arguments Value References Examples

View source: R/miyamotoC.R

Description

miyamotoC

Usage

1

Arguments

n

integer (order of the matrix)

Value

q matrix

References

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

Examples

1
2
3
4
5
6
7
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

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