get_cooper {HadamardR}R Documentation

get_cooper

Description

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

Usage

get_cooper(x)

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

get_cooper(340)
#$m
#[1] 5
#$n
#[1] 17
get_cooper(256)
#NULL

[Package HadamardR version 1.0.0 Index]