NLA-lib Explorer

NLAlib.walshHadamard

Library · def

The Walsh–Hadamard matrix of order 2^\mathbf{b} over a ring, indexed by bit strings: the entry at (\mathbf{x}, y) is 1 if \mathbf{x} and y share an even number of ones and -1 otherwise.

NLAlib.walshHadamard.{u_2} (R : Type u_2) [Ring R] (b : ℕ) :
  Matrix (Fin b → ZMod 2) (Fin b → ZMod 2) R

Full source on GitHub

Import NLAlib.Matrix.Structured.Walsh.