cdn_kronecker_matrix {HadamardR}R Documentation

cdn_kronecker_matrix

Description

Checks Hadamard Matrix can be constructed by multiplying 2 existing Hadamard matrix.

Usage

cdn_kronecker_matrix(r)

Arguments

r

integer

Details

This function checks whether the Hadamard matrix can be constructed as multiple of 2 Hadamard matrix. Returns the value 12, if it is possible otherwise NULL is returned.

Value

12 or NULL

Examples

cdn_kronecker_matrix(8)
#12
cdn_kronecker_matrix(12)
#NULL


[Package HadamardR version 1.0.0 Index]