*** Welcome to piglix ***

Fast Walsh–Hadamard transform


In computational mathematics, the Hadamard ordered fast Walsh–Hadamard transform (FWHTh) is an efficient algorithm to compute the Walsh–Hadamard transform (WHT). A naive implementation of the WHT of order would have a computational complexity of O(). The FWHTh requires only additions or subtractions.

The FWHTh is a divide and conquer algorithm that recursively breaks down a WHT of size into two smaller WHTs of size . This implementation follows the recursive definition of the Hadamard matrix :


...
Wikipedia

...