hadamard {magic}R Documentation

Hadamard matrices

Description

Various functionality for Hadamard matrices

Usage

sylvester(k)
is.hadamard(m)

Arguments

k Function sylvester() gives the k-th Sylvester matrix
m matrix

Details

A Hadamard matrix is a square matrix whose entries are either +1 or -1 and whose rows are mutually orthogonal.

Author(s)

Robin K. S. Hankin

References

“Hadamard matrix.” Wikipedia, The Free Encyclopedia. 19 Jan 2009, 18:21 UTC. 20 Jan 2009 http://en.wikipedia.org/w/index.php?title=Hadamard_matrix&oldid=265119778

Examples

is.hadamard(sylvester(4))
image(sylvester(5))


[Package magic version 1.4-4 Index]