get_cooper: get_cooper

Description Usage Arguments Details Value References Examples

View source: R/get_cooper.R

Description

This function provides the Williamson Matrix order and T-Sequence length required to construct Hadamard matrix.

Usage

1

Arguments

x

integer Hadamard Matrix Order to Check

Details

If m is the order of T-Sequence and n is the order of Williamson sequence and both exists. Cooper and Wallis (1972) showed a construction method for Hadamard matrix of order 4mn exists. This function returns m and n if they exists otherwise NULL value is returned.

Value

m Tsequence order

n Williamson order

References

Cooper, J., and Wallis, J. 1972. A construction for Hadamard arrays. Bull. Austral. Math. Soc., 07: 269-277.

Examples

1
2
3
4
5
6
7
get_cooper(340)
#$m
#[1] 5
#$n
#[1] 17
get_cooper(256)
#NULL

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