returns an n×n Hadamard matrix.

Details and OptionsDetails and Options

  • Each entry of the Hadamard matrix is by default defined as , where , is the ^(th) bit in the binary representation of the integer , and .
  • Rows or columns of the HadamardMatrix are basis sequences of the discrete Hadamard transform.
  • A Hadamard matrix is its own inverse.
  • HadamardMatrix[,WorkingPrecision->p] gives a matrix with entries of precision p.
  • The following options are supported:
  • MethodAutomaticspecifies the sequency ordering method
    WorkingPrecisionthe precision with which to compute matrix elements
  • Possible method settings are: , .
Introduced in 2012
| Updated in 2014